[mythtv-users] mythvideo keybindings
Jeremy Oddo
joddo at apixels.net
Fri Mar 21 17:02:56 EST 2003
Chris Palmer said:
> Kevin Bowen wrote
>> I'd imagine one way would be to set your lircd config to send
>> different keys depending on the focus'd app (which it is my
>> understanding it is possible to do)
>
> I believe this is "the" way to do it. I have only just
> recently installed lirc, so I don't yet understand the
> complex configs they have to make this work.
>
Hey Chris--
I've included a nice sample .lircrc for you to look at. It shows configs
for multiple apps (xine and myth). It may help you get your head around
the whole LIRC config thang. BTW, this is an .lircrc config file from
Harondel Sibble. I had to sneak into his house, bop him on the head, and
run off with it (either that, or he e-mailed it to me...I can't remember
right now).
Anyway, this may help you out:
<---Begin .lircrc--->
begin
button = SRS
prog = irexec
config = xterm -geometry 50x20+80+40 &
end
begin
button = Aux1
prog = irexec
config = xawtv -geometry +50+70 &
# flags = once
mode = tv
end
begin
button = Aux2
prog = irexec
config = xine -f shows/*avi &
# flags = once
mode = xine
end
begin
button = Aux3
prog = irexec
config = mythfrontend &
# flags = once
mode = mythtv
end
begin tv
begin
prog = irxevent
button = Star
config = Key f xawtv
end
begin
prog = irxevent
button = Hash
config = Key q xawtv
end
begin
prog = irxevent
button = CHUp
config = Key space xawtv
end
begin
prog = irxevent
button = CHDown
config = Key Page_Down xawtv
end
begin
prog = irxevent
button = Menu
config = Key ctrl-z xawtv
end
begin
prog = irxevent
button = Mute
# config = Key KP_Enter xawtv
config = Key a xawtv
end
begin
prog = irxevent
button = VolUp
config = Key KP_Add xawtv
end
begin
prog = irxevent
button = VolDown
config = Key KP_Subtract xawtv
end
begin
prog = irxevent
button = Zero
config = Key KP_0 xawtv
end
begin
prog = irxevent
button = One
config = Key KP_1 xawtv
end
begin
prog = irxevent
button = Two
config = Key KP_2 xawtv
end
begin
prog = irxevent
button = Three
config = Key KP_3 xawtv
end
begin
prog = irxevent
button = Four
config = Key KP_4 xawtv
end
begin
prog = irxevent
button = Five
config = Key KP_5 xawtv
end
begin
prog = irxevent
button = Six
config = Key KP_6 xawtv
end
begin
prog = irxevent
button = Seven
config = Key KP_7 xawtv
end
begin
prog = irxevent
button = Eight
config = Key KP_8 xawtv
end
begin
prog = irxevent
button = Nine
config = Key KP_9 xawtv
end
end tv
begin xine
begin
prog = irxevent
button = Star
config = Key f xine
end
begin
prog = irxevent
button = Hash
config = Key q xine
end
begin
prog = irxevent
button = Menu
config = Key g xine
end
begin
prog = irxevent
button = Display
config = Key space xine
end
begin
prog = irxevent
button = Zero
config = Key 0 xine
end
begin
prog = irxevent
button = One
config = Key 1 xine
end
begin
prog = irxevent
button = Two
config = Key 2 xine
end
begin
prog = irxevent
button = Three
config = Key 3 xine
end
begin
prog = irxevent
button = Four
config = Key 4 xine
end
begin
prog = irxevent
button = Five
config = Key 5 xine
end
begin
prog = irxevent
button = Six
config = Key 6 xine
end
begin
prog = irxevent
button = Seven
config = Key 7 xine
end
begin
prog = irxevent
button = Eight
config = Key 8 xine
end
begin
prog = irxevent
button = Nine
config = Key 9 xine
end
begin
prog = irxevent
button = VolUp
config = Key shift-v xine
end
begin
prog = irxevent
button = VolDown
config = Key v xine
end
begin
prog = irxevent
button = ChUp
config = Key Right xine
end
begin
prog = irxevent
button = ChDown
config = Key Left xine
end
begin
prog = irxevent
button = Mute
config = Key ctrl-m xine
config = Key ctrl-M xine
end
end xine
begin mythtv
begin
prog = irxevent
button = CHUp
config = Key Up CurrentWindow
end
begin
prog = irxevent
button = ChDown
config = Key Down CurrentWindow
end
begin
prog = irxevent
button = Display
config = Key Escape CurrentWindow
end
begin
prog = irxevent
button = Menu
config = Key M CurrentWindow
end
begin
prog = irxevent
button = Up
config = Key Up CurrentWindow
end
begin
prog = irxevent
button = Right
config = Key Right CurrentWindow
end
begin
prog = irxevent
button = Down
config = Key Down CurrentWindow
end
begin
prog = irxevent
button = Left
config = Key Left CurrentWindow
end
begin
prog = irxevent
button = Enter
config = Key KP_Enter CurrentWindow
end
begin
prog = irxevent
button = Zero
config = Key KP_0 CurrentWindow
end
begin
prog = irxevent
button = One
config = Key 1 CurrentWindow
end
begin
prog = irxevent
button = Two
config = Key 2 CurrentWindow
end
begin
prog = irxevent
button = Three
config = Key 3 CurrentWindow
end
begin
prog = irxevent
button = Four
config = Key 4 CurrentWindow
end
begin
prog = irxevent
button = Five
config = Key 5 CurrentWindow
end
begin
prog = irxevent
button = Six
config = Key 6 CurrentWindow
end
begin
prog = irxevent
button = Seven
config = Key 7 CurrentWindow
end
begin
prog = irxevent
button = Eight
config = Key 8 CurrentWindow
end
begin
prog = irxevent
button = Nine
config = Key 9 CurrentWindow
end
begin
prog = irxevent
button = Star
config = Key f CurrentWindow
end
end mythtv
More information about the mythtv-users
mailing list