From 7f52dc06895e45b2703b4922390437a077db6c8c Mon Sep 17 00:00:00 2001 From: Christian Linhart Date: Thu, 4 Sep 2014 17:49:01 +0200 Subject: [PATCH] xinput: RawEvents: support lists axisvalues and axisvalues_raw Support the lists axisvalues and axisvalues_raw in RawEvents. These are RawKeyPress, RawButtonPress, RawTouchBegin and their eventcopies. The length of both lists is determined by the number of bits set in the list valuator_mask. This is solved in the same way as for event KeyPress. spec: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XI2proto.txt?id=inputproto-2.3.1#n2362 code: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI2proto.h?id=inputproto-2.3.1#n980 Message-ID: <1409845742-38797-7-git-send-email-chris@demorecorder.com> Patch-Thread-Subject: [Xcb] support popcount of a list and associated xml changes Patch-Set: PopcountList Patch-Number: proto 7/8 Patch-Version: V1 Signed-off-by: Christian Linhart --- src/xinput.xml | 54 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 42 insertions(+), 12 deletions(-) diff --git a/src/xinput.xml b/src/xinput.xml index 4f0e34c..23e05df 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -2440,10 +2440,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + + @@ -2461,10 +2471,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + + @@ -2548,10 +2568,20 @@ in struct DeviceTimeCoord. valuators_len - - + + + + + + + + + + + + + + -- 2.34.1