xinput: ev DeviceButtonStateNotify.device_id: mask
authorChristian Linhart <chris@DemoRecorder.com>
Fri, 22 Aug 2014 15:26:10 +0000 (17:26 +0200)
committerChristian Linhart <chris@demorecorder.com>
Mon, 25 Aug 2014 11:42:56 +0000 (13:42 +0200)
commitdf64e417b8e8490970bbf85e138609de729f93eb
tree3d6d62810e544ce21bdbffd9f4f036ac90e1ff50
parentfe95c9448b220b058f7e33e54f8dea5824fb7ac6
xinput: ev DeviceButtonStateNotify.device_id: mask

add mask "MoreEventsMask" to field "device_id"

V2: patch revised according to suggestion from Peter Harris:
* use "altmask" instead of "mask"
  because all the legal values of device_id are not described
  by the <bit> elements of MoreEventsMask.

V3: revised the diff-context according to the modification of patch 19/22 V2.

spec:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n2252
http://cgit.freedesktop.org/xorg/xserver/tree/dix/enterleave.c#n725

note:
this mask is missing in the following spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n2431
src/xinput.xml