xinput: struct DeviceState: full support
authorChristian Linhart <chris@demorecorder.com>
Thu, 4 Sep 2014 08:53:14 +0000 (10:53 +0200)
committerChristian Linhart <chris@demorecorder.com>
Sat, 6 Sep 2014 13:39:18 +0000 (15:39 +0200)
commiteaae6940cb08de85fd2476bebc58f62f3cfb9e13
tree2cda7825ecb256a5a189dbc71aacad929015bb69
parent094be54065ffdd2a3bff3d080630801e4988d5d9
xinput: struct DeviceState: full support

replace uninterpreted_data by switch-case

this is needed by reply GetDeviceControl.

spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt?id=inputproto-2.3.1#n640
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml?id=libXi-1.7.4#n1856

Note: Only the DeviceControl of type DeviceResolution is defined in both specs.
( this is struct name="DeviceResolutionState" in the xml. )
The other DeviceControls are not defined in any of the specs.

code:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI.h?id=inputproto-2.3.1#n170
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XIproto.h?id=inputproto-2.3.1#n1263

Message-ID: <1409820801-43629-3-git-send-email-chris@demorecorder.com>
Patch-Thread-Subject: [Xcb] xinput: xml-fixes possible with new generator features
Patch-Set: XmlFixesNewGenerator
Patch-Number: proto 03/10
Patch-Version: V1
Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
src/xinput.xml