#220 A shortcut using the super key can not be mapped. [PATCH]


OS: Ubuntu 12.04
Affected Program: xsetwacom
Affected Version: 0.14.0, 0.16.0 and current GIT

In Ubuntu 12.04 it is not possible to map a shortcut, which uses the windows-key (Super_L), to a pad button because the function keysym_to_keycode() in xsetwacom.c can not resolve the key code. When changing keysym_to_keycode() to make use of XKeysymToKeycode(3) the key code can be resolved again and the shortcut can be mapped.

I attached a patch but I'm not sure if there are other implications when using XKeysymToKeycode.


  • Alex

    Alex - 2012-08-08

    Patch to fix key code lookup.

  • Jason Gerecke

    Jason Gerecke - 2012-09-07
    • assigned_to: nobody --> comp_nerd
  • Alex

    Alex - 2012-09-08

    Works fine for me with xf86-input-wacom-0.17.0.

    Thanks for the fix.

  • Jason Gerecke

    Jason Gerecke - 2012-09-19

    Patch pushed to the repository and should be available in the next release of xf86-input-wacom.

  • Jason Gerecke

    Jason Gerecke - 2012-09-19
    • status: open --> closed-fixed

Log in to post a comment.