diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 17:25:34 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 17:25:34 -0600 |
commit | 48906a623383ab5222541ae048e99dd039b62a9a (patch) | |
tree | 1c5f588e90899bb1301f79cf97b8f6ddc0b1c367 /tderadio3/dot-lircrc.example | |
parent | a1e6ce502c334194d31a0b78b11b77e9532da64b (diff) | |
download | tderadio-48906a623383ab5222541ae048e99dd039b62a9a.tar.gz tderadio-48906a623383ab5222541ae048e99dd039b62a9a.zip |
Fix FTBFS
Diffstat (limited to 'tderadio3/dot-lircrc.example')
-rw-r--r-- | tderadio3/dot-lircrc.example | 221 |
1 files changed, 221 insertions, 0 deletions
diff --git a/tderadio3/dot-lircrc.example b/tderadio3/dot-lircrc.example new file mode 100644 index 0000000..d071fee --- /dev/null +++ b/tderadio3/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 = kradio + 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 + |