[PATCH] Input device properties

Daniel Stone daniel at fooishbar.org
Tue Jul 8 13:57:40 PDT 2008


On Tue, Jul 08, 2008 at 05:02:46PM +0930, Peter Hutterer wrote:
> This patch adds input device properties modelled after randr output
> properties (and by modelled I mean mostly copied).
> 
> Why do we want them?
> Currently the method to talk to a driver is through the ChangeDeviceControl
> request, which basically routes binary data from the client to the driver and
> vice versa. Adding new control types requires a protocol bump.
> 
> The properties are simply X atoms that can be set on the device, and allow for
> arbitrary options without having to update the server and/or the protocol.
> Long-term this would allow us to deprecate the ChangeDeviceControl request.
> 
> Additional patches for libXi, app/xinput and xf86-input-evdev are available in
> http://people.freedesktop.org/~whot/patches/device-properties
> The evdev driver provides the ability to set middle button function + timeout
> through properties as a simple demo.

Nice one.  I haven't reviewed them much beyond reading them once-over,
but what could possibly go wrong?

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080708/1c9a92dd/attachment.pgp>


More information about the xorg mailing list