4 releases

0.0.4 Aug 17, 2024
0.0.3 Aug 9, 2024
0.0.2 Jul 18, 2024
0.0.1 Jul 13, 2024

#412 in Hardware support

Download history 112/week @ 2024-07-08 115/week @ 2024-07-15 46/week @ 2024-07-22 104/week @ 2024-08-05 154/week @ 2024-08-12 22/week @ 2024-08-19

304 downloads per month
Used in saddle

Apache-2.0

250KB
2.5K SLoC

Colpetto

Colpetto is an async wrapper for libinput. It leverages the tokio runtime to offer a robust stream-based implementation for handling libinput events.

Integrating with the async ecosystem allows for efficient polling of events, minimizing CPU consumption and maximizes performance in applications that require real-time event handling.

You can find a simple example usage example here

Currently, Colpetto utilizes udev as the backend for device discovery and management. Future updates will include support for additional custom backends, allowing for greater flexibility.

License

This project is licensed under the Apache-2.0 License. For more information, please see the LICENSE file.

Dependencies

~3–14MB
~114K SLoC