From 27b22875e62eda71e8c1a81643c4bcf2199cf79c Mon Sep 17 00:00:00 2001 From: Christian Linhart Date: Thu, 21 Aug 2014 22:50:52 +0200 Subject: [PATCH] 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 --- src/xinput.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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 + + - + -- 2.34.1