From dcd78ec38917e6c2fda97b80f912a2822c2d5c01 Mon Sep 17 00:00:00 2001 From: Christian Linhart Date: Tue, 19 Aug 2014 13:12:32 +0200 Subject: [PATCH] xinput: struct ValuatorState.mode: add mask add new enum ValuatorStateModeMask as mask to field "mode" V2: patch revised according to suggestions from Peter Harris: * use bit instead of value * use names which indicate the way the bits should be flipped spec: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n2095 http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1783 --- src/xinput.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/xinput.xml b/src/xinput.xml index 29758a2..e318339 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -768,11 +768,16 @@ authorization from the authors. + + 0 + 1 + + - + num_valuators -- 2.34.1