slint-evdev-input

Crates.ioslint-evdev-input
lib.rsslint-evdev-input
version0.0.2
created_at2025-10-26 17:13:09.975268+00
updated_at2025-10-26 17:26:16.917237+00
descriptionConvert evdev input events into slint WindowEvents
homepage
repositoryhttps://github.com/mcbridejc/slint-evdev-input
max_upload_size
id1901641
size73,337
Jeff McBride (mcbridejc)

documentation

README

slint-evdev-input

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

Based on the 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"
Commit count: 0

cargo fmt