xinput: ev DeviceStateNotify.device_id: mask
authorChristian Linhart <chris@DemoRecorder.com>
Tue, 19 Aug 2014 11:13:43 +0000 (13:13 +0200)
committerChristian Linhart <chris@demorecorder.com>
Mon, 25 Aug 2014 11:42:56 +0000 (13:42 +0200)
commit01d0228f9bfc354d3832b6a68355769a7ad38ea3
treed356f1aae11f219c428ee4d376615a5b82d1130f
parent07e5a4a2f09a538567ee3ea8ca7444d432e6ac14
xinput: ev DeviceStateNotify.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.

spec and code:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n2214
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#n2395
src/xinput.xml