Mapping pointer events to keys and the other way around?

Michal Suchanek hramrach at centrum.cz
Thu Mar 24 06:08:44 PDT 2011


Hello,

with many tablets, mice with dozens of buttons and multimedia
keyboards around the distinction between a mouse button and a keyboard
key is not very useful from a user's point of view.

To the contrary, it's confusing and limiting.

There are some options for generating mouse events with xkb - there
was the right button emulation for Macs and the mouse emulation on the
keypad, these are hopefully still working and could be used as an
example of translation in one way.

However, I can't find any documented way that would allow a mouse
button generate a key press or input a text string (or other arbitrary
 sequence of key presses and releases).

There was some Wacom-specific support in their driver but that does
not work for plain mice and is probably non-functional in current
version of the driver anyway.

Is there just documentation missing in xinput(1) and evdev(4) or is
there no such feature?

Thanks

Michal


More information about the xorg-devel mailing list