From: Christian Linhart Date: Thu, 21 Aug 2014 20:50:52 +0000 (+0200) Subject: xinput: req ChangeFeedbackControl.mask: add mask X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27b22875e62eda71e8c1a81643c4bcf2199cf79c;hp=dcd78ec38917e6c2fda97b80f912a2822c2d5c01;p=free-sw%2Fxcb%2Fproto xinput: req ChangeFeedbackControl.mask: add mask add new enum ChangeFeedbackControlMask to field "mask" as mask V2: patch revised according to suggestion from Ran Benita: * changed item name from "ledMode" to "LedMode" ( initial character uppercase ) to be consistent with the initial uppercase letter of the other items. V2: added a note to the commit-message about multiple items with the same value. Note: This enum contains multiple items with the same value. This is defined that way in the spec. The reason is probably as follows: The semantic of those values probably depends on the the value of field "class_id" of struct "FeedbackCtrl". spec and code: http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1450 http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI.h#n207 http://cgit.freedesktop.org/xorg/xserver/tree/Xi/chgfctl.c the following spec just mentions that the field "mask" is a BITMASK, but does not list its values: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n1725 --- diff --git a/src/xinput.xml b/src/xinput.xml index e318339..94bdd59 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -636,8 +636,24 @@ authorization from the authors. + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 0 + 0 + 0 + 1 + 2 + + - +