[mythtv-users] Using extra keys in a keyboard

Phill Edwards philledwards at gmail.com
Sun Jun 1 05:44:51 UTC 2008


> You will find write-ups on some keyboards I have crossed paths with
> (one of the PC dealers in my area has deals on factory refurbished
> Microsoft keyboards, explains how my Linux boxes normally end up with
> MS keyboards and mice... :-) ). Basic deal is use xev to find out what
> key codes the various extra keys are creating and then edit the
> .xmodmaprc file with that information...

Does anyone know what to do if a keypress sends a combination of keys?
I have a USB remote control which uis detected as a keyboard. There is
a "home" key on it which sends Alt-LeftWindows-Return - see xev output
here:

KeyRelease event, serial 32, synthetic NO, window 0x1600001,
    root 0x139, subw 0x0, time 1118170310, (-431,-87), root:(461,91),
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1600001,
    root 0x139, subw 0x0, time 1118170310, (-431,-87), root:(461,91),
    state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1600001,
    root 0x139, subw 0x0, time 1118170310, (-431,-87), root:(461,91),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
    XLookupString gives 1 bytes: (0d) "^M"
    XFilterEvent returns: False

Looking at how xmodmaprc works you have to provide it a single keycode
which I can't do in this case because the button press is sending a
combination of keycodes. I'd like to map this key to comething I can
use as a jump point in MythTV. Any ideas?


More information about the mythtv-users mailing list