From 05a6ab501e533a1d9a8b689a3bc71671b950995d Mon Sep 17 00:00:00 2001 From: Vijay Kumar Banerjee Date: Thu, 4 Jun 2020 22:28:17 +0530 Subject: 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*/ -- cgit v1.2.3