Skip to content

Commit 91f0172

Browse files
authored
support EVDEV discovery (#68)
1 parent 8b106e2 commit 91f0172

File tree

4 files changed

+604
-372
lines changed

4 files changed

+604
-372
lines changed

README.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,22 @@ To use wayland, adjust `lv_conf.h` as follows:
6060
```
6161

6262

63-
### cmake
63+
## Enable Input
64+
65+
To use EVDEV with fbdev or DRM, adjust `lv_conf.h` as follows:
66+
```
67+
#define LV_USE_EVDEV 1
68+
```
69+
70+
71+
## cmake
6472

6573
```
6674
cmake -B build -S .
6775
make -C build -j
6876
```
6977

70-
### Makefile
78+
## Makefile
7179

7280
```
7381
make -j
@@ -100,7 +108,9 @@ Environment variables can be set to modify the behavior of the demo.
100108

101109
### EVDEV touchscreen/mouse pointer device
102110

103-
- `LV_LINUX_EVDEV_POINTER_DEVICE` - override default (`/dev/input/by-id/my-mouse-or-touchscreen`) input device
111+
- `LV_LINUX_EVDEV_POINTER_DEVICE` - the path of the input device, i.e.
112+
`/dev/input/by-id/my-mouse-or-touchscreen`. If not set, devices will
113+
be discovered and added automatically.
104114

105115
### DRM/KMS
106116

0 commit comments

Comments
 (0)