diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -8,20 +8,20 @@ Hello everyone. I wrote a script that connects to HDMI CEC ( cec-client needed ) and listens for TV Remote key presses. Based on the keys pressed / released (or auto-released; holding down certain keys for too long makes them auto-release) different actions are executed. Some examples: -![remotecontrol](https://user-images.githubusercontent.com/12376668/231612995-ae14a26a-67d7-41bc-a6d3-4ceef471c747.png) - - write letters and numbers using 0-9 keys (simulating 3x4 keypad phones - key "2" switches between a-b-c-2, key 9 switches between w-x-y-z-9) ( xdotool needed ) - move mouse cursor using up/down/left/right (the longer you hold the key down, the faster it goes) and click (enter = left click; channels list = right click) ( xdotool needed ) - opening web sites in chomium (red key for YouTube, green for Google, blue for incognito window) - -If you want to use firefox instead of chromium, replace "chromium" with "firefox" in the script below. -Alternatively, you can just install chromium: +write letters and numbers using 0-9 keys (simulating 3x4 keypad phones - key "2" switches between a-b-c-2, +key 9 switches between w-x-y-z-9) ( xdotool needed ) +move mouse cursor using up/down/left/right (the longer you hold the key down, the faster it goes) and +click (enter = left click; channels list = right click) ( xdotool needed ) +opening web sites in chomium (red key for YouTube, green for Google, blue for incognito window) -`sudo apt-get install chromium-browser` +If you want to use firefox instead of chromium, replace "chromium" with "firefox" in the script. These are the keys supported by my TV Remote. You can modify the script for your TV Remote, see Modification below. +![remotecontrol](https://user-images.githubusercontent.com/12376668/231612995-ae14a26a-67d7-41bc-a6d3-4ceef471c747.png) + # Installation: + First you need to install cec-client and xdotool; using terminal: `sudo apt-get install cec-client xdotool` |