[rtems-littlevgl commit] lv_drv_conf: Enable USE_BSD_EVDEV option

Vijay Kumar Banerjee vijay at rtems.org
Fri Jun 5 12:32:41 UTC 2020


Module:    rtems-littlevgl
Branch:    master
Commit:    05a6ab501e533a1d9a8b689a3bc71671b950995d
Changeset: http://git.rtems.org/rtems-littlevgl/commit/?id=05a6ab501e533a1d9a8b689a3bc71671b950995d

Author:    Vijay Kumar Banerjee <vijay at rtems.org>
Date:      Thu Jun  4 22:46:17 2020 +0530

lv_drv_conf: Enable USE_BSD_EVDEV option

---

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



More information about the vc mailing list