summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2020-06-04 22:28:17 +0530
committerVijay Kumar Banerjee <vijay@rtems.org>2020-06-05 17:58:47 +0530
commit05a6ab501e533a1d9a8b689a3bc71671b950995d (patch)
tree11954603fceb76d6e871e536861e721f13b957fb
parentlvgl: Get lv_drivers source list directly from the directory (diff)
downloadrtems-littlevgl-05a6ab501e533a1d9a8b689a3bc71671b950995d.tar.bz2
lv_drv_conf: Enable USE_BSD_EVDEV option
-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*/