xinput: struct DeviceCtl: full support
authorChristian Linhart <chris@demorecorder.com>
Thu, 4 Sep 2014 08:53:15 +0000 (10:53 +0200)
committerChristian Linhart <chris@demorecorder.com>
Tue, 9 Sep 2014 21:54:46 +0000 (23:54 +0200)
commit93c1e688a53a0b174658c9cf5e5fa65e07f2b6a3
treed7e03bb56cdca5f2f281a6a2833ebd6504232351
parentc9fce88c5d4f8b07538641946702aeabc2609baa
xinput: struct DeviceCtl: full support

replace uninterpreted_data by switch-case

this is needed by request ChangeDeviceControl.

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

Note: Only the DeviceCtl of type DeviceResolution is defined in both specs.
( this is struct name="DeviceResolutionCtl" in the xml. )
The other DeviceCtls 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#n1343

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