From ccae57d5e6ad5b25908b04efffe21f1bf4ea7a9c Mon Sep 17 00:00:00 2001 From: Christian Linhart Date: Thu, 4 Sep 2014 17:48:59 +0200 Subject: [PATCH] xinput: ev KeyPress: support list axisvalues The length of list axisvalues is determined by the number of bits set in the list valuator_mask. This is computed using sumof over popcount of the list-elements of valuator_mask. This uses the new expression type which refers to the current list-element iterated by sumof. spec: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XI2proto.txt?id=inputproto-2.3.1#n2214 code: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI2proto.h?id=inputproto-2.3.1#n944 Message-ID: <1409845742-38797-5-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 5/8 Patch-Version: V1 Signed-off-by: Christian Linhart --- src/xinput.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/xinput.xml b/src/xinput.xml index 61aacb7..02a8597 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -2274,8 +2274,13 @@ in struct DeviceTimeCoord. valuators_len - + + + + + + + -- 2.34.1