Crates.io | gilrs-core |
lib.rs | gilrs-core |
version | 0.5.13 |
source | src |
created_at | 2018-10-30 19:17:43.47843 |
updated_at | 2024-07-08 15:39:40.578634 |
description | Minimal event based abstraction for working with gamepads |
homepage | |
repository | https://gitlab.com/gilrs-project/gilrs |
max_upload_size | |
id | 93659 |
size | 223,962 |
This library is minimal event based abstraction for working with gamepads. If
you are looking for something more hight level, take a look at gilrs
crate.
On Linux, GilRs read (and write, in case of force feedback) directly from
appropriate /dev/input/event*
file. This mean that user have to have read and
write access to this file. On most distros it shouldn't be a problem, but if
it is, you will have to create udev rule.
To build GilRs, you will need pkg-config and libudev .pc file. On some
distributions this file is packaged in separate archive (for example
libudev-dev
in Debian).
This project is licensed under the terms of both the Apache License (Version 2.0) and the MIT license. See LICENSE-APACHE and LICENSE-MIT for details.