From bd070c5a513da966da77c7a9c1c24f9f5836f43a Mon Sep 17 00:00:00 2001 From: Daniel Martin Date: Tue, 15 Jan 2013 19:01:12 +0100 Subject: [PATCH] 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 --- src/xinput.xml | 126 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 125 insertions(+), 1 deletion(-) 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 + + + + + + + + + + + + + + + -- 2.34.1