This project started out as a small side project, that I needed for other things I was working on.
However I've come to realize I have neither time, interest nor hardware required to maintain python bindings for something as big as libinput.
So, if you use this project, know a little C and think you could take over... Drop me a line and we'll talk about it.
Until then I'm archiving this repo.
This package provides a pure python wrapper for libinput, a library that handles input devices for display servers and other applications that need to directly deal with input devices.It provides device detection, device handling, input device event processing and abstraction.
libinput does this by reading character files in /dev/input/
, so to use
this package you need to run your code as root or to belong to input
group.
https://python-libinput.readthedocs.io/
https://github.com/OzymandiasTheGreat/python-libinput