From: Daniel Martin Date: Tue, 15 Jan 2013 18:01:12 +0000 (+0100) Subject: xinput: Add XI v1.5 X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd070c5a513da966da77c7a9c1c24f9f5836f43a;p=free-sw%2Fxcb%2Fproto 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 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 ) for switches is implemented. Signed-off-by: Daniel Martin --- diff --git a/src/xinput.xml b/src/xinput.xml index 2de7307..20ac52b 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -31,7 +31,7 @@ authorization from the authors. --> + major-version="1" minor-version="5"> xproto @@ -932,6 +932,120 @@ authorization from the authors. + + + + + + + + + + + + + num_atoms + + + + + + + + 8 + 16 + 32 + + + + + + + + + + + + format + + + 8Bits + + num_items + + + + 16Bits + + num_items + + + + 32Bits + + num_items + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + format + + + 8Bits + + num_items + + + + 16Bits + + num_items + + + + 32Bits + + num_items + + + + + + + + + + + + + + +