[PATCH rtems-littlevgl 4/4] lv_drv_conf: Enable USE_BSD_EVDEV option

Vijay Kumar Banerjee vijay at rtems.org
Thu Jun 4 18:44:34 UTC 2020


---
 lv_drv_conf.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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*/
 
-- 
2.21.1



More information about the devel mailing list