summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHender2023-04-12 20:26:21 -0400
committerGitHub2023-04-12 20:26:21 -0400
commit5b27638e9975d7bdeea6f134bd1dfd820c2cd75d (patch)
tree0074aa52abfcab559b754426a291c80858a001c8
parent1c4a5766943dfa9ce52fb269e2e7254987ec6983 (diff)
downloadbash-cec-5b27638e9975d7bdeea6f134bd1dfd820c2cd75d.tar.gz
bash-cec-5b27638e9975d7bdeea6f134bd1dfd820c2cd75d.tar.bz2
bash-cec-5b27638e9975d7bdeea6f134bd1dfd820c2cd75d.zip
Update README.md
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 3dcc8dc..e79020c 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
-#Original work of:
+# Original work of:
https://ubuntu-mate.community/t/controlling-raspberry-pi-with-tv-remote-using-hdmi-cec/4250
Hello everyone.
-#Description:
+# Description:
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:
@@ -21,7 +21,7 @@ Alternatively, you can just install chromium:
These are the keys supported by my TV Remote. You can modify the script for your TV Remote, see Modification below.
-#Installation:
+# Installation:
First you need to install cec-client and xdotool; using terminal:
`sudo apt-get install cec-client xdotool`
@@ -82,7 +82,7 @@ Then add this in the Startup Programs (Menu - System - Control Center - Startup
Restart, try, report :slightly_smiling:
-Modification:
+# Modification:
If you want, you can edit the script to change or add the commands executed on certain button presses.
You can detect the additional buttons that CEC on your TV supports. Kill the running cec-client, run the cec-client in the terminal, and watch for the output while you're pressing all the keys on your TV Remote; using terminal: