xinput: Add XI v1.5
authorDaniel Martin <consume.noise@gmail.com>
Tue, 15 Jan 2013 18:01:12 +0000 (19:01 +0100)
committerDaniel Martin <consume.noise@gmail.com>
Wed, 14 Aug 2013 22:00:52 +0000 (00:00 +0200)
commitbd070c5a513da966da77c7a9c1c24f9f5836f43a
tree03033e6bf489a0fcb583a9f1170f7344e726f294
parent4fce9448b6ec3785476ae85cb7c5c28c180b5e8b
xinput: Add XI v1.5

New:
- Requests
  * ListDeviceProperties
  * ChangeDeviceProperty
  * DeleteDeviceProperty
  * GetDeviceProperty

- Enum
  * PropertyFormat

- Event
  * DevicePropertyNotify

The requests ChangeDeviceProperty and GetDeviceProperty use switches to
return a list depending on the format (8bit, 16bit and 32bit) of the
property value.
We reuse the <bitcase> here. Which is possible, because the format
values don't have equal bits. But, this is rather a hack and must be
changed when the value test (a <case>) for switches is implemented.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
src/xinput.xml