xinput: struct XIDeviceInfo.type: altenum to enum
authorChristian Linhart <chris@demorecorder.com>
Mon, 18 Aug 2014 12:59:52 +0000 (14:59 +0200)
committerChristian Linhart <chris@demorecorder.com>
Mon, 25 Aug 2014 11:42:56 +0000 (13:42 +0200)
commit319220781c4744fc8b70b1e2414eefdc1999c453
tree91a0bdc5801ad5f5012d016da13ce3cd0fb9b77a
parent7675fbdf29ff0050321c3cb2e88f442f9f7496d1
xinput: struct XIDeviceInfo.type: altenum to enum

field "type": replace altenum by enum because
only the values of DeviceType are permitted

spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XI2proto.txt#n669
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XI2proto.txt#n763

notes to the spec:
* the field is called "use" in the spec, instead of "type"
* the enum is called "DEVICEUSE" in the spec, instead of "DeviceType"
src/xinput.xml