From: Christian Linhart Date: Tue, 19 Aug 2014 11:12:32 +0000 (+0200) Subject: xinput: struct ValuatorState.mode: add mask X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcd78ec38917e6c2fda97b80f912a2822c2d5c01;hp=dcd78ec38917e6c2fda97b80f912a2822c2d5c01;p=free-sw%2Fxcb%2Fproto 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 ---