[PLUG] keyboard mapping change

Denis Heidtmann denis.heidtmann at gmail.com
Mon Oct 27 17:31:48 UTC 2014


showkey -a
for the left key of interest:
<   60 0074 0x3c
for  the right key of interest:
\   92 0134 0x5c

There is also xev:

For the left key:
KeyPress event, serial 36, synthetic NO, window 0x4c00001,
    root 0x261, subw 0x0, time 2468220, (18,-5), root:(1517,42),
    state 0x10, keycode 94 (keysym 0x3c, less), same_screen YES,
    XLookupString gives 1 bytes: (3c) "<"
    XmbLookupString gives 1 bytes: (3c) "<"
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4c00001,
    root 0x261, subw 0x0, time 2468668, (18,-5), root:(1517,42),
    state 0x10, keycode 94 (keysym 0x3c, less), same_screen YES,
    XLookupString gives 1 bytes: (3c) "<"
    XFilterEvent returns: False

For the right key:
KeyPress event, serial 36, synthetic NO, window 0x4c00001,
    root 0x261, subw 0x0, time 2474140, (18,-5), root:(1517,42),
    state 0x10, keycode 51 (keysym 0x5c, backslash), same_screen YES,
    XLookupString gives 1 bytes: (5c) "\"
    XmbLookupString gives 1 bytes: (5c) "\"
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4c00001,
    root 0x261, subw 0x0, time 2474396, (18,-5), root:(1517,42),
    state 0x10, keycode 51 (keysym 0x5c, backslash), same_screen YES,
    XLookupString gives 1 bytes: (5c) "\"
    XFilterEvent returns: False

These results do not seem to say the same thing.  Confusion.




-Denis

On Mon, Oct 27, 2014 at 8:31 AM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Mon, 27 Oct 2014, Ken Stephens wrote:
>
>> showkey
>
> Ken,
>
>    Wasn't sure if that showed the key name as used in .Xmodmap or the scan
> code for the key. Didn't look at the man page.
>
> Rich
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug



More information about the PLUG mailing list