From 022cec314e0bcac2acc5c26fccf755f30cf60464 Mon Sep 17 00:00:00 2001 From: Christian Linhart Date: Thu, 4 Sep 2014 10:53:12 +0200 Subject: [PATCH] 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 --- src/xinput.xml | 57 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git a/src/xinput.xml b/src/xinput.xml index e418b65..98f7dec 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, ... ) @@ -631,12 +630,56 @@ in struct DeviceTimeCoord. - - - len - 4 - - + + class_id + + Keyboard + + + + + + + + + + 32 + + + + Pointer + + + + + + + String + + + + num_keysyms + + + + Integer + + + + + + Led + + + + + Bell + + + + + + -- 2.34.1