xinput: RawEvents: support lists axisvalues and axisvalues_raw
authorChristian Linhart <chris@demorecorder.com>
Thu, 4 Sep 2014 15:49:01 +0000 (17:49 +0200)
committerChristian Linhart <chris@demorecorder.com>
Tue, 9 Sep 2014 00:05:51 +0000 (02:05 +0200)
commit012eaf2d49ad826c2c1a1aa9d81deffeaab604d3
tree7e836c45300ad0c8c9c3a9b7530ebcae6d08f44f
parent27466e153316e9ff439f778be61f535f25c42964
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 <chris@DemoRecorder.com>
src/xinput.xml