diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-08-29 09:20:32 +1000 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2011-09-07 10:27:44 -0700 |
commit | 1b40cc4ff63ebbf0a4b17507762b17fa1e91bea9 (patch) | |
tree | 8a67a0b898776aff848678f6f2672dd29cd360c7 /XI2.h | |
parent | b55d236a66a614b2192da6d8a7ed4b7d831976f5 (diff) | |
download | xorg-proto-inputproto-1b40cc4ff63ebbf0a4b17507762b17fa1e91bea9.tar.gz |
specs: extend XI2.1 raw events to include touch events
RawEvents are simple enough that we can re-use the detail field for the
touch ID tracking and just update the respective event types.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'XI2.h')
-rw-r--r-- | XI2.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -197,7 +197,10 @@ #define XI_TouchEnd 19 #define XI_TouchOwnership 20 #define XI_TouchUpdate 21 -#define XI_LASTEVENT XI_TouchUpdate +#define XI_RawTouchBegin 22 +#define XI_RawTouchEnd 23 +#define XI_RawTouchUpdate 24 +#define XI_LASTEVENT XI_RawTouchUpdate /* NOTE: XI2LASTEVENT in xserver/include/inputstr.h must be the same value * as XI_LASTEVENT if the server is supposed to handle masks etc. for this * type of event. */ @@ -227,5 +230,8 @@ #define XI_TouchEndMask (1 << XI_TouchEnd) #define XI_TouchOwnershipChangedMask (1 << XI_TouchOwnershipChanged) #define XI_TouchUpdateMask (1 << XI_TouchUpdate) +#define XI_RawTouchBeginMask (1 << XI_RawTouchBegin) +#define XI_RawTouchEndMask (1 << XI_RawTouchEnd) +#define XI_RawTouchUpdateMask (1 << XI_RawTouchUpdate) #endif /* _XI2_H_ */ |