From b18df2e6f93d8922c6dcf818f98b9de983ca661b Mon Sep 17 00:00:00 2001 From: Hender Date: Wed, 12 Apr 2023 20:52:53 -0400 Subject: Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e79020c..1deedd1 100644 --- a/README.md +++ b/README.md @@ -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` -- cgit v1.2.3