BreadCrumbs: Lirc
Lirc
From Luke Jackson
(Difference between revisions)
Revision as of 22:44, 14 November 2007 (edit) Ljackson (Talk | contribs) (→Lircrc File) ← Previous diff |
Revision as of 13:33, 15 November 2007 (edit) Ljackson (Talk | contribs) (→vlc) Next diff → |
||
Line 209: | Line 209: | ||
prog = vlc | prog = vlc | ||
button = Play | button = Play | ||
- | config = key-play | + | config = key-play-pause |
- | repeat = 3 | + | repeat = 0 |
end | end | ||
begin | begin | ||
prog = vlc | prog = vlc | ||
button = Pause | button = Pause | ||
- | config = key-pause | + | config = key-play-pause |
- | repeat = 3 | + | repeat = 0 |
end | end | ||
begin | begin | ||
Line 222: | Line 222: | ||
button = Stop | button = Stop | ||
config = key-stop | config = key-stop | ||
- | repeat = 3 | + | repeat = 1 |
end | end | ||
begin | begin | ||
Line 251: | Line 251: | ||
prog = vlc | prog = vlc | ||
button = Rewind | button = Rewind | ||
- | config = key-slower | + | config = key-jump-extrashort |
repeat = 3 | repeat = 3 | ||
end | end | ||
Line 257: | Line 257: | ||
prog = vlc | prog = vlc | ||
button = Forward | button = Forward | ||
- | config = key-faster | + | config = key-jump+extrashort |
+ | repeat = 3 | ||
+ | end | ||
+ | begin | ||
+ | prog = vlc | ||
+ | button = Replay/SkipBackward | ||
+ | config = key-jump-long | ||
+ | repeat = 3 | ||
+ | end | ||
+ | begin | ||
+ | prog = vlc | ||
+ | button = SkipForward | ||
+ | config = key-jump+long | ||
repeat = 3 | repeat = 3 | ||
end | end | ||
Line 264: | Line 276: | ||
button = Vol- | button = Vol- | ||
config = key-vol-down | config = key-vol-down | ||
- | repeat = 0 | + | repeat = 1 |
end | end | ||
begin | begin | ||
Line 270: | Line 282: | ||
button = Vol+ | button = Vol+ | ||
config = key-vol-up | config = key-vol-up | ||
- | repeat = 0 | + | repeat = 1 |
end | end | ||
begin | begin | ||
Line 276: | Line 288: | ||
button = Mute | button = Mute | ||
config = key-vol-mute | config = key-vol-mute | ||
- | repeat = 3 | + | repeat = 0 |
end | end | ||
begin | begin |
Revision as of 13:33, 15 November 2007
Contents |
Lircrc Files
irexec
#-------------------------------------------------- # File: /etc/lircrc (This works with the '''Hauppage 350 grey remote''') #-------------------------------------------------- #-------------------------------------------------- # irexec #-------------------------------------------------- begin button = Ch+ prog = irexec config = python /path/to/ivtv-channel.py up end begin button = Ch- prog = irexec config = python /path/to/ivtv-channel.py down end begin button = OK prog = irexec config = python /path/to/ivtv-channel.py enter end begin button = Prev.Ch prog = irexec config = python /path/to/ivtv-channel.py last end begin button = 0 prog = irexec config = ivtv-tune -c 0 end begin button = 1 prog = irexec config = ivtv-tune -c 1 end begin button = 2 prog = irexec config = ivtv-tune -c 2 end begin button = 3 prog = irexec config = ivtv-tune -c 3 end begin button = 4 prog = irexec config = ivtv-tune -c 4 end begin button = 5 prog = irexec config = ivtv-tune -c 5 end begin button = 6 prog = irexec config = ivtv-tune -c 6 end begin button = 7 prog = irexec config = ivtv-tune -c 7 end begin button = 8 prog = irexec config = /usr/bin/ivtv-tune -c 46 end begin button = 9 prog = irexec config = ivtv-tune -c 9 end begin button = Red prog = irexec config = killall -9 mplayer end begin button = Green prog = irexec config = date end begin button = Yellow prog = irexec config = mplayer "/myvideo.avi" & end begin button = Blue prog = irexec config = mplayer /dev/video0 & end
mplayer
#-------------------------------------------------- # File: /etc/lircrc (This works with the '''Hauppage 350 grey remote''') #-------------------------------------------------- #-------------------------------------------------- # mplayer #-------------------------------------------------- begin prog = mplayer button = Menu/i repeat = 3 config = osd end begin button = Vol+ prog = mplayer config = volume +1 repeat = 1 end begin button = Vol- prog = mplayer config = volume -1 repeat = 1 end begin prog = mplayer button = Pause repeat = 3 config = pause end begin prog = mplayer button = Play repeat = 3 config = seek +1 end begin prog = mplayer button = Stop repeat = 3 config = quit end begin prog = mplayer button = Mute repeat = 3 config = mute end begin prog = mplayer button = Forward repeat = 3 config = seek +10 end begin prog = mplayer button = Rewind repeat = 3 config = seek -10 end begin prog = mplayer button = SkipForward repeat = 3 config = seek +30 end begin prog = mplayer button = Replay/SkipBackward repeat = 3 config = seek -30 end begin prog = mplayer button = TV repeat = 3 config = vo_fullscreen end begin prog = mplayer button = Back/Exit repeat = 3 config = quit end
vlc
#-------------------------------------------------- # File: /etc/lircrc (This works with the '''Hauppage 350 grey remote''') #-------------------------------------------------- #-------------------------------------------------- # vlc #-------------------------------------------------- begin prog = vlc button = Play config = key-play-pause repeat = 0 end begin prog = vlc button = Pause config = key-play-pause repeat = 0 end begin prog = vlc button = Stop config = key-stop repeat = 1 end begin prog = vlc button = Back/Exit config = key-quit repeat = 3 end begin prog = vlc button = Ch+ config = key-next repeat = 3 end begin prog = vlc button = Ch- config = key-prev repeat = 3 end begin prog = vlc button = TV config = key-fullscreen repeat = 3 end begin prog = vlc button = Rewind config = key-jump-extrashort repeat = 3 end begin prog = vlc button = Forward config = key-jump+extrashort repeat = 3 end begin prog = vlc button = Replay/SkipBackward config = key-jump-long repeat = 3 end begin prog = vlc button = SkipForward config = key-jump+long repeat = 3 end begin prog = vlc button = Vol- config = key-vol-down repeat = 1 end begin prog = vlc button = Vol+ config = key-vol-up repeat = 1 end begin prog = vlc button = Mute config = key-vol-mute repeat = 0 end begin prog = vlc button = Left config = key-nav-left end begin prog = vlc button = Down config = key-nav-down end begin prog = vlc button = Up config = key-nav-up end begin prog = vlc button = Right config = key-nav-right end begin prog = vlc button = Guide config = key-nav-activate end begin prog = vlc button = Menu/i config = key-disc-menu end begin prog = vlc button = Radio config = key-audio-track end