[PATCH] Input device properties

Adam Jackson ajax at nwnk.net
Tue Jul 8 07:32:51 PDT 2008


On Tue, 2008-07-08 at 17:02 +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.

Oh, also, it lets us not use synaptics' shmconfig disaster.

This looks really good.  Swapped dispatch is missing but whatever,
that's a typing exercise.  Thanks for doing this, push away!

- ajax




More information about the xorg mailing list