diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-08-17 14:50:39 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-09-17 06:40:32 +1000 |
commit | 3ed1b463205295a5ebba7d570a4cb8dfade51a38 (patch) | |
tree | 5cef0d43e362afc1ba3f1f334c6be4b0314c4a29 /include/X11 | |
parent | 00382417331d0b38373796fd31757be9fd3e9971 (diff) |
Support XI 2.1 XIScrollClass
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/X11')
-rw-r--r-- | include/X11/extensions/XInput2.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index 3fcf083..910b25f 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -133,6 +133,17 @@ typedef struct int mode; } XIValuatorClassInfo; +/* new in XI 2.1 */ +typedef struct +{ + int type; + int sourceid; + int number; + int scroll_type; + double increment; + int flags; +} XIScrollClassInfo; + typedef struct { int deviceid; |