diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-06-18 22:59:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-07-10 17:21:43 +0900 |
commit | bc7518bdba609f90ee89de8b4e7ddaa1e567b1a8 (patch) | |
tree | 7a3f446098bbdaafc799fc97dd1bb998a2456252 /plugins/lirc/dot-lircrc.example | |
parent | f3116341d095d1b0237f7a36d1f3511759da7b03 (diff) | |
download | tderadio-bc7518bdba609f90ee89de8b4e7ddaa1e567b1a8.tar.gz tderadio-bc7518bdba609f90ee89de8b4e7ddaa1e567b1a8.zip |
CMake conversion.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'plugins/lirc/dot-lircrc.example')
-rw-r--r-- | plugins/lirc/dot-lircrc.example | 221 |
1 files changed, 221 insertions, 0 deletions
diff --git a/plugins/lirc/dot-lircrc.example b/plugins/lirc/dot-lircrc.example new file mode 100644 index 0000000..73176c4 --- /dev/null +++ b/plugins/lirc/dot-lircrc.example @@ -0,0 +1,221 @@ +begin + flags = startup_mode + mode = TV-off +end + + +begin TV-off + + begin + button = RESERVED + repeat = 0 + prog = irexec + config = if xset q | grep "DPMS is Enabled" > /dev/null ; then xset -dpms; else xset dpms force off; fi + end + + begin + prog = tderadio + config = eventmap + end + + begin + button = TV + repeat = 0 + prog = irexec + config = xset -dpms && sleep 1 && tvtime & + end + + begin + button = TV + mode = TV-on + flags = quit + end + +end TV-off + + + +begin TV-on + + +# The following defines most of the common buttons found on a remote and +# what commads they would map to inside tvtime. + +begin + prog = irexec + button = SOURCE + config = tvtime-command TOGGLE_INPUT +end + +#begin +# prog = irexec +# button = DISPLAY +# config = tvtime-command DISPLAY_INFO +# repeat = 1 +#end + +begin + prog = irexec + button = FULL_SCREEN + config = tvtime-command TOGGLE_FULLSCREEN +end + +#begin +# prog = irexec +# button = CC +# config = tvtime-command TOGGLE_CC +#end + +begin + prog = irexec + button = MUTE + config = tvtime-command TOGGLE_MUTE +end + +# Menu navigation. +begin + prog = irexec + button = CH+ + config = tvtime-command UP + repeat = 0 +end +begin + prog = irexec + button = CH- + config = tvtime-command DOWN + repeat = 0 +end +begin + prog = irexec + button = VOL+ + config = tvtime-command RIGHT + config = tvtime-command RIGHT + repeat = 1 +end + +begin + prog = irexec + button = VOL- + config = tvtime-command LEFT + config = tvtime-command LEFT + repeat = 1 +end + +#begin +# prog = irexec +# button = RECALL +# config = tvtime-command CHANNEL_JUMP +# repeat = 1 +#end + +begin + prog = irexec + button = 1 + config = tvtime-command CHANNEL_1 +end +begin + prog = irexec + button = 2 + config = tvtime-command CHANNEL_2 +end +begin + prog = irexec + button = 3 + config = tvtime-command CHANNEL_3 +end +begin + prog = irexec + button = 4 + config = tvtime-command CHANNEL_4 +end +begin + prog = irexec + button = 5 + config = tvtime-command CHANNEL_5 +end +begin + prog = irexec + button = 6 + config = tvtime-command CHANNEL_6 +end +begin + prog = irexec + button = 7 + config = tvtime-command CHANNEL_7 +end +begin + prog = irexec + button = 8 + config = tvtime-command CHANNEL_8 +end +begin + prog = irexec + button = 9 + config = tvtime-command CHANNEL_9 +end +begin + prog = irexec + button = 0 + config = tvtime-command CHANNEL_0 +end + +#begin +# prog = irexec +# button = ENTER +# config = tvtime-command ENTER +#end + + + begin + prog = irexec + button = RESERVED + config = tvtime-command QUIT + end + + begin + prog = irexec + button = MINIMIZE + config = tvtime-command QUIT + end + + begin + prog = irexec + button = RADIO + config = tvtime-command QUIT + end + + begin + prog = irexec + button = TV + config = tvtime-command QUIT + end + + begin + button = RESERVED + mode = TV-off + flags = quit + end + + begin + button = TV + mode = TV-off + flags = quit + end + + + begin + button = MINIMIZE + mode = TV-off + flags = quit + end + + + begin + button = RADIO + mode = TV-off + flags = quit + end + + +end TV-on + |