slint-evdev-input 0.0.2

Convert evdev input events into slint WindowEvents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# slint-evdev-input

Reads touch input events from a linux evdev device and converts them to slint WindowEvent.

Based on the [evdev](https://github.com/emberian/evdev) crate.

## Running tests

The tests for this crate require use of `/dev/uinput` to create virtual devices, and then access to
the created device. Typically, this requires root priveledges, or udev rules to grant access to a
group.

For example, you can add your user to the "input" group, and add the following udev rule in `/etc/udev/rules.d/99-input.rules`:

```
KERNEL=="uinput", GROUP="input", MODE:="0660"
KERNEL=="event*", GROUP="input", MODE:="0660"
```