x11/device-manager-xi2: Add 'Abs Distance' axis
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 9 Apr 2012 10:56:26 +0000 (11:56 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 10 Apr 2012 08:32:00 +0000 (09:32 +0100)
commitf6da5ea616b114c80708817c51b20abb8f8a8304
treec0759c336663413cab9447741e02ec476cd5ab58
parentc699972bfa598c103c9dc7eb0fa4b5ea5a81ee8f
x11/device-manager-xi2: Add 'Abs Distance' axis

In XInput 2, the proximity events of XInput 1 have been replaced by an
axis on a valuator class. This means that, on devices that support
proximity information, for instance pens of a tablet, you will start
receiving events with the distance as an axis value - similarly to how
the pressure and tilt are presented in the API.
clutter/x11/clutter-device-manager-xi2.c