From: Christian Linhart Date: Thu, 4 Sep 2014 08:53:12 +0000 (+0200) Subject: xinput: struct FeedbackState: full support X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?p=free-sw%2Fxcb%2Fproto;a=commitdiff_plain;h=1dabbc999755762dbb910132cbea1bef2ea34bc8 xinput: struct FeedbackState: full support replace uninterpreted_data by switch-case this is needed by reply GetFeedbackControl. spec: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt?id=inputproto-2.3.1#n1613 http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml?id=libXi-1.7.4#n1341 code: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI.h?id=inputproto-2.3.1#n244 http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XIproto.h?id=inputproto-2.3.1#n754 Message-ID: <1409820801-43629-1-git-send-email-chris@demorecorder.com> Patch-Thread-Subject: [Xcb] xinput: xml-fixes possible with new generator features Patch-Set: XmlFixesNewGenerator Patch-Number: proto 01/10 Patch-Version: V1 Signed-off-by: Christian Linhart --- diff --git a/src/xinput.xml b/src/xinput.xml index 59694dd..c7e57a5 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -46,7 +46,6 @@ This will, e.g., be necessary for automatically generated byte-order conversion which will, e.g., be necessary for server-side xcb. This affects the following: -* GetFeedbackControl reply field "feedbacks" ( structs FeedbackState, ... ) * ChangeFeedbackControl request field "feedback" ( structs FeedbackCtl, ... ) * QueryDeviceState reply field "classes" ( structs InputState, ... ) * GetDeviceControl reply field "control" ( structs DeviceState, ... ) @@ -598,12 +597,56 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + class_id + + Keyboard + + + + + + + + + + 32 + + + + Pointer + + + + + + + String + + + + num_keysyms + + + + Integer + + + + + + Led + + + + + Bell + + + + + +