25 releases
0.5.11 | Mar 6, 2024 |
---|---|
0.5.10 | Dec 17, 2023 |
0.5.9 | Nov 13, 2023 |
0.5.6 | Jun 24, 2023 |
0.1.0 | Oct 30, 2018 |
#1743 in Game dev
87,730 downloads per month
Used in 129 crates
(2 directly)
205KB
5K
SLoC
GilRs Core
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.
Platform specific notes
Linux
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).
License
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.
Dependencies
~0.2–43MB
~618K SLoC