[Xcb] [PATCH proto 1/5] xinput: struct DeviceTimeCoord: replace CARD32 by INT32

Christian Linhart chris at demorecorder.com
Sat Aug 16 03:08:24 PDT 2014


replace CARD32 by INT32 in commented-out list "axisvalues"

spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n927
	in this spec, the list is called "data" instead of "axisvalues"

http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1018
	in this spec, the list is called "valuators" instead of "axisvalues"

(file-positions in the above URLs may become wrong if the spec changes)
---
 src/xinput.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xinput.xml b/src/xinput.xml
index a0f42b3..bf4efe9 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -263,15 +263,15 @@ <request name="GetDeviceDontPropagateList" opcode="9">
         </reply>
     </request>
 
     <!-- GetDeviceMotionEvents -->
 
     <struct name="DeviceTimeCoord">
         <field type="TIMESTAMP" name="time" />
-        <!-- Uninterpreted: list (axisvalues) of CARD32,
+        <!-- Uninterpreted: list (axisvalues) of INT32,
                             length is num_axes from GetDeviceMotionEvents -->
     </struct>
 
     <request name="GetDeviceMotionEvents" opcode="10">
         <field type="TIMESTAMP" name="start" />
         <field type="TIMESTAMP" name="stop" altenum="Time" />
         <field type="CARD8"     name="device_id" />
-- 
2.0.1



More information about the Xcb mailing list