#input #game #gamepad #limnus #state #active #platform

limnus-gamepad

Platform independent gamepad management

7 releases

0.0.16 Jan 14, 2025
0.0.15 Jan 13, 2025
0.0.12 Dec 3, 2024
0.0.11 Nov 30, 2024

#1510 in Game dev

Download history 106/week @ 2024-11-19 186/week @ 2024-11-26 263/week @ 2024-12-03 124/week @ 2024-12-10 11/week @ 2024-12-17 21/week @ 2024-12-24 36/week @ 2024-12-31 329/week @ 2025-01-07 301/week @ 2025-01-14 32/week @ 2025-01-21

711 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.16"

License

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

Dependencies

~0.6–1.1MB
~22K SLoC