aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/evdev/evdev.h
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2020-04-21 10:26:58 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2021-01-07 23:18:41 +0000
commitd276eae674d22214d6a58d1f4871053ceb0cb9f5 (patch)
tree02e18ebd3c817bb7fe897d429783b35975cd8783 /sys/dev/evdev/evdev.h
parent5af73ad51b8c2e640608af0b7a1982be5c204b96 (diff)
Diffstat (limited to 'sys/dev/evdev/evdev.h')
-rw-r--r--sys/dev/evdev/evdev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/evdev/evdev.h b/sys/dev/evdev/evdev.h
index f584e52fc8e4..30d6a106d8b3 100644
--- a/sys/dev/evdev/evdev.h
+++ b/sys/dev/evdev/evdev.h
@@ -30,6 +30,7 @@
#define _DEV_EVDEV_EVDEV_H
#include <sys/types.h>
+#include <sys/epoch.h>
#include <sys/kbio.h>
#include <dev/evdev/input.h>
#include <dev/kbd/kbdreg.h>
@@ -87,6 +88,8 @@ extern int evdev_sysmouse_t_axis;
* for MT protocol type B reports */
#define EVDEV_FLAG_MT_AUTOREL 0x02 /* Autorelease MT-slots not listed in
* current MT protocol type B report */
+#define EVDEV_FLAG_EXT_EPOCH 0x03 /* evdev_push_* is allways called with
+ * input (global) epoch entered */
#define EVDEV_FLAG_MAX 0x1F
#define EVDEV_FLAG_CNT (EVDEV_FLAG_MAX + 1)