Keymap issues with Pointer+Keys device

Sascha Hlusiak saschahlusiak at arcor.de
Sun Aug 31 15:52:58 PDT 2008


Am Montag 01 September 2008 00:43:58 schrieb Peter Hutterer:
> 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.
Ok, thank you. I will then try to split up the driver, this really seems to be 
the easiest solution. 

How did X without MPX do it? Because it works just fine with xorg-server-1.5.

Cheers,
 Sascha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x.org/archives/xorg/attachments/20080901/0389f426/attachment.pgp>


More information about the xorg mailing list