Keymap issues with Pointer+Keys device

Peter Hutterer peter.hutterer at who-t.net
Sun Aug 31 15:43:58 PDT 2008


On Sun, Aug 31, 2008 at 11:58:43PM +0200, Sascha Hlusiak wrote:
> since MPX was merged there are problems generating keys with the joystick 
> driver. The joystick driver acts as both a keyboard (with an own keymap) and 
> a pointer. 
> 
> The device is attached to the core pointer device. On keypress the keymap of 
> the device is copied to the core pointer device, but the core keyboard 
> device's keymap is used for keysym lookup.

> Should the driver rather create two devices, one for pointer and one for keys? 

Creating two devices is the simplest and most effective solution for now.

In the long-term, it might be worth merging both master pointer and master
keyboard into one device, though this would require a number of changes in the
DIX and almost certainly break clients.

Cheers,
  Peter



More information about the xorg mailing list