| Crates.io | slint-evdev-input |
| lib.rs | slint-evdev-input |
| version | 0.0.2 |
| created_at | 2025-10-26 17:13:09.975268+00 |
| updated_at | 2025-10-26 17:26:16.917237+00 |
| description | Convert evdev input events into slint WindowEvents |
| homepage | |
| repository | https://github.com/mcbridejc/slint-evdev-input |
| max_upload_size | |
| id | 1901641 |
| size | 73,337 |
Reads touch input events from a linux evdev device and converts them to slint WindowEvent.
Based on the evdev crate.
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"