diff options
author | Ulf Brosziewski <bru@cvs.openbsd.org> | 2019-03-24 17:55:40 +0000 |
---|---|---|
committer | Ulf Brosziewski <bru@cvs.openbsd.org> | 2019-03-24 17:55:40 +0000 |
commit | 4d4982f658434058db152bd7dddc91f7323389d6 (patch) | |
tree | f932ae9b577c421898da6806f53a15f4fd0af42a | |
parent | 40240d507964f6081a562bd2aa23600d644f0a4f (diff) |
Add new event types for precision scrolling.
-rw-r--r-- | sys/dev/wscons/wsconsio.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h index 97803143bc3..d7942ac9238 100644 --- a/sys/dev/wscons/wsconsio.h +++ b/sys/dev/wscons/wsconsio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsio.h,v 1.90 2018/11/10 14:27:51 bru Exp $ */ +/* $OpenBSD: wsconsio.h,v 1.91 2019/03/24 17:55:39 bru Exp $ */ /* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */ /* @@ -112,6 +112,12 @@ struct wscons_event { #define WSCONS_EVENT_TOUCH_RESET 25 /* (no value) */ /* + * Precision Scrolling + */ +#define WSCONS_EVENT_HSCROLL 26 /* dx * 4096 / scroll_unit */ +#define WSCONS_EVENT_VSCROLL 27 /* dy * 4096 / scroll_unit */ + +/* * Keyboard ioctls (0 - 31) */ |