diff options
author | Hender | 2023-04-12 20:52:53 -0400 |
---|---|---|
committer | GitHub | 2023-04-12 20:52:53 -0400 |
commit | b18df2e6f93d8922c6dcf818f98b9de983ca661b (patch) | |
tree | 8925c6bea35499b8dc5de32fdaa2daa6fee557b5 /README.md | |
parent | 5b27638e9975d7bdeea6f134bd1dfd820c2cd75d (diff) | |
download | bash-cec-b18df2e6f93d8922c6dcf818f98b9de983ca661b.tar.gz bash-cec-b18df2e6f93d8922c6dcf818f98b9de983ca661b.tar.bz2 bash-cec-b18df2e6f93d8922c6dcf818f98b9de983ca661b.zip |
Update README.md
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` |