#input #game #gamepad #limnus #state #active #management

limnus-gamepad

Platform independent gamepad management

8 releases

new 0.0.17 Mar 6, 2025
0.0.16 Jan 14, 2025
0.0.12 Dec 3, 2024
0.0.11 Nov 30, 2024

#1675 in Game dev

Download history 134/week @ 2024-11-23 388/week @ 2024-11-30 140/week @ 2024-12-07 28/week @ 2024-12-14 7/week @ 2024-12-21 47/week @ 2024-12-28 111/week @ 2025-01-04 455/week @ 2025-01-11 92/week @ 2025-01-18 8/week @ 2025-01-25 14/week @ 2025-02-01 9/week @ 2025-02-08 17/week @ 2025-02-15 36/week @ 2025-02-22 208/week @ 2025-03-01

273 downloads per month
Used in 12 crates (7 directly)

MIT license

45KB
716 lines

limnus-gamepad 🧱

A gamepad abstraction layer for the Limnus game engine, providing cross-platform gamepad support with a simple, event-driven API.

✨ Features

  • 🎮 Support for standard gamepad layouts
  • 🔄 Event-driven state updates
  • 📊 Analog input support for triggers and sticks
  • 🔌 Hot-plugging support
  • 🏃 Active state tracking

📦 Installation

Add limnus-gamepad to your project’s Cargo.toml:

[dependencies]
limnus-gamepad = "0.0.17"

License

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

Dependencies

~0.5–1MB
~21K SLoC