xinput: ev KeyPress: support list axisvalues
authorChristian Linhart <chris@demorecorder.com>
Thu, 4 Sep 2014 15:48:59 +0000 (17:48 +0200)
committerChristian Linhart <chris@demorecorder.com>
Mon, 3 Nov 2014 10:23:23 +0000 (11:23 +0100)
commitd2a80fed905843d04e8b4ab01e0e723d282aa49b
tree4ffb898d827e378e485fbd1be55b7e5d2f0f49d2
parente0d5a80d9c313046b7b5ba7f494f52ae46266e4c
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 <listelement-ref/> 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 <chris@DemoRecorder.com>
src/xinput.xml