diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2011-09-13 14:20:31 -0500 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2011-09-13 14:30:45 -0500 |
commit | b95adf9b14ff5ba2142e8521f02728dc6d903409 (patch) | |
tree | 014dc07e7966bd2ed38c4f5e1588d62b4caa1066 /XI2.h | |
parent | d6dcfd4039ede37e9c858ab6e890fdb9582a5a9d (diff) | |
parent | 9cfdeedd16e96c0e67e70537e97a8f8dd0358244 (diff) |
Merge remote-tracking branch 'inputproto/master' into multitouch-devel
Conflicts:
XI2.h
XI2proto.h
specs/XI2proto.txt
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'XI2.h')
-rw-r--r-- | XI2.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -35,8 +35,7 @@ See commit libXi-1.4.2-21-ge8531dd */ #define XI_2_Major 2 -#define XI_2_Minor 0 -#define XI_2_1_Minor 1 +#define XI_2_Minor 1 /* Property event flags */ #define XIPropertyDeleted 0 @@ -148,9 +147,18 @@ #define XIKeyClass 0 #define XIButtonClass 1 #define XIValuatorClass 2 +#define XIScrollClass 3 #define XITouchClass 8 #define XITouchValuatorClass 9 +/* Scroll class types */ +#define XIScrollTypeVertical 1 +#define XIScrollTypeHorizontal 2 + +/* Scroll class flags */ +#define XIScrollFlagNoEmulation (1 << 0) +#define XIScrollFlagPreferred (1 << 1) + /* Device event flags (common) */ /* Device event flags (key events only) */ #define XIKeyRepeat (1 << 16) |