Narsil / rdev

Simple library to listen and send events to keyboard and mouse (MacOS, Windows, Linux)
MIT License
534 stars 135 forks source link

Use libinput to monitor for events on Linux #116

Open DanielJoyce opened 1 year ago

DanielJoyce commented 1 year ago

This will provide compatibility for Wayland and X11, as X11 uses Libinput under the hood now for its event source.

There are several linux keyboard macro systems now that use libinput for example.

lthms commented 11 months ago

I’d be willing to contribute to rdev to add this. Any advice about that before I dive in? My understanding is that the key file to update is listen.rs

FoxxMD commented 9 months ago

I've got a sample app using libinput that gets key code events and (some) mouse information, here, that may be of use. Problems I'm encountering currently:

Zhou-Tx commented 9 months ago

我已收到你发的邮件,谢谢