xinput: ev DeviceKeyPress.state: add mask
authorChristian Linhart <chris@demorecorder.com>
Mon, 18 Aug 2014 12:59:53 +0000 (14:59 +0200)
committerChristian Linhart <chris@demorecorder.com>
Mon, 25 Aug 2014 11:42:56 +0000 (13:42 +0200)
add mask KeyButMask to field "state"

spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n2271

src/xinput.xml

index d53b777..4c0c3a7 100644 (file)
@@ -1839,7 +1839,7 @@ authorization from the authors.
         <field type="INT16"     name="root_y" />
         <field type="INT16"     name="event_x" />
         <field type="INT16"     name="event_y" />
-        <field type="CARD16"    name="state" />
+        <field type="CARD16"    name="state" mask="KeyButMask" />
         <field type="BOOL"      name="same_screen" />
         <field type="CARD8"     name="device_id" />
     </event>