#gamepad-input #joystick #gamepad #input #joystick-input

gilrs-core

Minimal event-based abstraction for working with gamepads

37 releases

new 0.6.7 Jan 12, 2026
0.6.6 Sep 28, 2025
0.6.4 Apr 6, 2025
0.6.3 Mar 10, 2025
0.1.0 Oct 30, 2018

#2120 in Game dev

Download history 59738/week @ 2025-09-29 63098/week @ 2025-10-06 67014/week @ 2025-10-13 72501/week @ 2025-10-20 61159/week @ 2025-10-27 63903/week @ 2025-11-03 57376/week @ 2025-11-10 56693/week @ 2025-11-17 54928/week @ 2025-11-24 57444/week @ 2025-12-01 61529/week @ 2025-12-08 73008/week @ 2025-12-15 70635/week @ 2025-12-22 59739/week @ 2025-12-29 57103/week @ 2026-01-05 72552/week @ 2026-01-12

273,622 downloads per month
Used in 183 crates (2 directly)

Apache-2.0/MIT

205KB
5K SLoC

GilRs Core

pipeline status Minimum rustc version

This library is minimal event-based abstraction for working with gamepads. If you are looking for something more high 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 means that user has 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.3–33MB
~534K SLoC