#input #game #gamepad #gilrs #limnus #abstraction

limnus-gamepad-gilrs

Small wrapper around gilrs to provide gamepad abstraction

3 releases

new 0.0.12 Dec 3, 2024
0.0.11 Nov 30, 2024
0.0.10 Nov 24, 2024

#1786 in Game dev

Download history 55/week @ 2024-11-18 236/week @ 2024-11-25

291 downloads per month
Used in 6 crates (2 directly)

MIT license

63KB
1K SLoC

limnus-gamepad-gilrs 🧱

A gilrs backend implementation for the Limnus game engine's gamepad system. This crate provides platform-native gamepad support using the gilrs library.

✨ Features

  • 🎮 Native gamepad support via gilrs
  • 🔄 Automatic mapping of controller inputs
  • 🔌 Hot-plugging support
  • 🌍 Cross-platform compatibility
    • Windows
    • Linux
    • MacOS
    • Wasm

🎯 Force feedback support not implemented.

📦 Installation

Add to your Cargo.toml:

[dependencies]
limnus-gamepad-gilrs = "0.0.12"

License

Licensed under the MIT License. See LICENSE in the project root for license information.

Dependencies

~1.2–3.5MB
~69K SLoC