Keymap issues with Pointer+Keys device

Maxim Levitsky maximlevitsky at gmail.com
Tue Sep 16 06:23:53 PDT 2008


Sascha Hlusiak wrote:
>>> Here, "panic" set to TRUE doesn't seem so right but it's the only way I
>>> found to totally remove a device.
>> Sounds alright. The panic is necessary as you can't call RemoveDevice
>> directly (which would disable everything properly).
> Great, thank you.
> 
> 
>> I'm thinking, maybe it might be worth making NewInputDeviceRequest and
>> DeleteInputDeviceRequest part of the server API. That way, you could just
>> assemble the option list, pass it in and let the server worry about the
>> rest.
> Yes, I was looking for methods like this to call. While what I do already is a 
> workaround for Pointer+Key devices, it would be much cleaner for now to have 
> an API for creating devices out of a driver. The evdev driver has the same 
> issue, if there are keyboards with valuators.
> 
> BTW: With MPX, having two key devices attached to the first master device 
> works fine, regarding the keymap. When creating a second master and attaching 
> a keyboard to that, key presses seem to use the keymap of the first master 
> device, so of the other keyboard.
> 
> 
> Cheers,
> Sascha
> 
> 

My .2 cents,

it would also be great to make synaptic driver to send keypresses when user touches screen
edges, since usually applications don't understand high mouse buttons, like make it possible to send

"back" and "forward" keys when user moves a finger on top edge.

Best regards,
	Maxim Levitsky



More information about the xorg mailing list