[mythtv-users] How to send multiple events with lirc - One button to click to bring up EPG

Geoff Ellis mrbythatmuch at gmail.com
Thu Oct 12 02:34:35 UTC 2006


While watching live TV I would really like to be able to access the
EPG with a single click.  Presently you have to press M to bring up
the OSD menu then select the program guide.

lirc seems to be able to send multiple events from a single button.  I
have tried several variations in the config string to include
config= M Space
config= OSDMenu EventSelect
config= Menu EventSelect
and others
I have change the prog between mythtv and xine

I have tried using xev to detect the events being sent when I press M
and the Space to bring up the EPG but get

PropertyNotify event, serial 13, synthetic NO, window 0x400007,
    atom 0xea (_NET_WM_USER_TIME), time 899292769, state PropertyNewValue

PropertyNotify event, serial 14, synthetic NO, window 0x400007,
    atom 0xea (_NET_WM_USER_TIME), time 899295011, state PropertyNewValue

was expecting KeyPress and KeyRelease events like

KeyPress event, serial 17, synthetic NO, window 0x400007,
    root 0x75, subw 0x0, time 979118462, (405,289), root:(405,289),
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XmbLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

Search Internet and mailing list archive I was not able to find an
answer I'm sure I'm not the first to ask about this.  Also if anyone
can tell me how I'm using xev wring to discover the events to use in
lirc that would be appreciated as well.


More information about the mythtv-users mailing list