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

#598 in Hardware support


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–12MB
~116K SLoC