gilrs-core

Crates.iogilrs-core
lib.rsgilrs-core
version0.6.0
sourcesrc
created_at2018-10-30 19:17:43.47843
updated_at2024-09-15 17:48:29.163337
descriptionMinimal event-based abstraction for working with gamepads
homepage
repositoryhttps://gitlab.com/gilrs-project/gilrs
max_upload_size
id93659
size227,976
(Arvamer)

documentation

https://docs.rs/gilrs-core/

README

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.

Commit count: 700

cargo fmt