Mapping User key to X11?

Hi,

the user key reports via /dev/input/event2 for me. X seems:

[ 27.408] (II) config/udev: Adding input device gpio-keys (/dev/input/event2)
[ 27.409] (**) gpio-keys: Applying InputClass "default"
[ 27.409] (**) gpio-keys: always reports core events
[ 27.409] (**) gpio-keys: Device: "/dev/input/event2"
[ 27.409] (--) gpio-keys: Found 9 mouse buttons
[ 27.409] (II) gpio-keys: Configuring as mouse
[ 27.410] (**) gpio-keys: YAxisMapping: buttons 4 and 5
[ 27.410] (**) gpio-keys: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 27.410] (II) XINPUT: Adding extended input device "gpio-keys" (type: MOUSE)

How do i use this under X11? Can i map this to a key? E.g. the CTRL key would be very handy for the MeeGo
tablet UX (as it needs a physcal "back" key).

Till

If you're running a full version of Xorg then look into xmodmap and
xbindeys to map a keystroke or mouseclick to an action.