Skip to content

Commit

Permalink
support EVDEV discovery (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamHowatt authored Jan 24, 2025
1 parent 8b106e2 commit 91f0172
Show file tree
Hide file tree
Showing 4 changed files with 604 additions and 372 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,22 @@ To use wayland, adjust `lv_conf.h` as follows:
```


### cmake
## Enable Input

To use EVDEV with fbdev or DRM, adjust `lv_conf.h` as follows:
```
#define LV_USE_EVDEV 1
```


## cmake

```
cmake -B build -S .
make -C build -j
```

### Makefile
## Makefile

```
make -j
Expand Down Expand Up @@ -100,7 +108,9 @@ Environment variables can be set to modify the behavior of the demo.

### EVDEV touchscreen/mouse pointer device

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

### DRM/KMS

Expand Down
Loading

0 comments on commit 91f0172

Please sign in to comment.