mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-09 04:48:05 +02:00
xinput: ev ButtonPress, TouchBegin: support list axisvalues
These events are identical to KeyPress, so needed to be changed the same way. ( in the spec, these are all listed under DeviceEvent ) 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-6-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 6/8 Patch-Version: V1 Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
This commit is contained in:
parent
d2a80fed90
commit
fd9f1ade96
1 changed files with 14 additions and 4 deletions
|
|
@ -2347,8 +2347,13 @@ in struct DeviceTimeCoord.
|
|||
<list type="CARD32" name="valuator_mask">
|
||||
<fieldref>valuators_len</fieldref>
|
||||
</list>
|
||||
<!-- Uninterpreted: list (axisvalues) of FP3232,
|
||||
length is <popcount> on valuator_mask list -->
|
||||
<list type="FP3232" name="axisvalues">
|
||||
<sumof ref="valuator_mask">
|
||||
<popcount>
|
||||
<listelement-ref/>
|
||||
</popcount>
|
||||
</sumof>
|
||||
</list>
|
||||
</event>
|
||||
|
||||
<eventcopy name="ButtonRelease" number="5" ref="ButtonPress" />
|
||||
|
|
@ -2530,8 +2535,13 @@ in struct DeviceTimeCoord.
|
|||
<list type="CARD32" name="valuator_mask">
|
||||
<fieldref>valuators_len</fieldref>
|
||||
</list>
|
||||
<!-- Uninterpreted: list (axisvalues) of FP3232,
|
||||
length is <popcount> on valuator_mask list -->
|
||||
<list type="FP3232" name="axisvalues">
|
||||
<sumof ref="valuator_mask">
|
||||
<popcount>
|
||||
<listelement-ref/>
|
||||
</popcount>
|
||||
</sumof>
|
||||
</list>
|
||||
</event>
|
||||
|
||||
<eventcopy name="TouchUpdate" number="19" ref="TouchBegin" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue