summaryrefslogtreecommitdiffstats
path: root/minuitwrp/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'minuitwrp/events.c')
-rw-r--r--minuitwrp/events.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/minuitwrp/events.c b/minuitwrp/events.c
index 52c5a7d50..557ab84e4 100644
--- a/minuitwrp/events.c
+++ b/minuitwrp/events.c
@@ -34,9 +34,15 @@
#define VIBRATOR_TIMEOUT_FILE "/sys/class/timed_output/vibrator/enable"
#define VIBRATOR_TIME_MS 50
+#ifndef SYN_REPORT
#define SYN_REPORT 0x00
+#endif
+#ifndef SYN_CONFIG
#define SYN_CONFIG 0x01
+#endif
+#ifndef SYN_MT_REPORT
#define SYN_MT_REPORT 0x02
+#endif
#define ABS_MT_POSITION 0x2a /* Group a set of X and Y */
#define ABS_MT_AMPLITUDE 0x2b /* Group a set of Z and W */