[Xcb] [PATCH proto 06/12] xinput: GetDeviceKeyMapping-request: add pad at end

Christian Linhart chris at demorecorder.com
Fri Aug 15 11:36:14 PDT 2014


see:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1583
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XIproto.h#n982
(file-positions may become wrong if the spec or header change)
---
 src/xinput.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xinput.xml b/src/xinput.xml
index bfd02bb..cb24de3 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -624,14 +624,15 @@ <request name="ChangeFeedbackControl" opcode="23">
 
     <!-- GetDeviceKeyMapping -->
 
     <request name="GetDeviceKeyMapping" opcode="24">
         <field type="CARD8"   name="device_id" />
         <field type="KeyCode" name="first_keycode" />
         <field type="CARD8"   name="count" />
+        <pad bytes="1" />
         <reply>
             <pad bytes="1" />
             <field type="CARD8" name="keysyms_per_keycode" />
             <pad bytes="23" />
             <list type="KEYSYM" name="keysyms">
                 <!-- 'length' is a field in the header -->
                 <fieldref>length</fieldref>
-- 
2.0.1



More information about the Xcb mailing list