diff options
author | Daniel Stone <daniel@fooishbar.org> | 2011-02-15 14:23:25 +0000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-09-29 12:26:43 +1000 |
commit | 78d8d6dd7f31cb903d5c8baf64181795736f33ed (patch) | |
tree | bcfad6f18886c5065eb31f0c39848d0c0b0dd6e0 /include | |
parent | d8e42decbad4abe13265f4c546a0c561905d018f (diff) |
Input: Add vertical and horizontal scroll axes
To be used for smooth scrolling with future driver APIs, replacing
Rel Vert Wheel and Rel Horiz Wheel axes, which have not been used in any
open driver to date.
Combined with double-granularity ValuatorMasks, these axes allow for
fine-grained scroll data to be sent to clients. Future commits allow
drivers to post these scroll axes to
QueuePointerEvents/GetPointerEvents, which take care of emulating legacy
scroll button events.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/xserver-properties.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xserver-properties.h b/include/xserver-properties.h index bf50042d0..18b54ba32 100644 --- a/include/xserver-properties.h +++ b/include/xserver-properties.h @@ -77,6 +77,8 @@ #define AXIS_LABEL_PROP_REL_DIAL "Rel Dial" #define AXIS_LABEL_PROP_REL_WHEEL "Rel Vert Wheel" #define AXIS_LABEL_PROP_REL_MISC "Rel Misc" +#define AXIS_LABEL_PROP_REL_VSCROLL "Rel Vert Scroll" +#define AXIS_LABEL_PROP_REL_HSCROLL "Rel Horiz Scroll" /* * Absolute axes |