diff options
author | Christian Linhart <chris@demorecorder.com> | 2014-09-04 17:49:00 +0200 |
---|---|---|
committer | Christian Linhart <chris@demorecorder.com> | 2014-11-03 11:23:23 +0100 |
commit | fd9f1ade9605efe7c443d962134c4ded6c54f565 (patch) | |
tree | 41cf0258fef09ade5d57ef496ba917f2728c2440 /src/xinput.xml | |
parent | d2a80fed905843d04e8b4ab01e0e723d282aa49b (diff) |
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>
Diffstat (limited to 'src/xinput.xml')
-rw-r--r-- | src/xinput.xml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/xinput.xml b/src/xinput.xml index d42f6fc..7f67cfe 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -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" /> |