summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lv_drv_conf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lv_drv_conf.h b/lv_drv_conf.h
index 697ceaf..e8d2c40 100644
--- a/lv_drv_conf.h
+++ b/lv_drv_conf.h
@@ -322,7 +322,11 @@
# define USE_EVDEV 0
#endif
-#if USE_EVDEV
+#ifndef USE_BSD_EVDEV
+# define USE_BSD_EVDEV 1
+#endif
+
+#if USE_EVDEV || USE_BSD_EVDEV
# define EVDEV_NAME "/dev/input/event0" /*You can use the "evtest" Linux tool to get the list of devices and test them*/
# define EVDEV_SWAP_AXES 0 /*Swap the x and y axes of the touchscreen*/