#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

#1851 in Game dev

Download history 239/week @ 2024-11-24 296/week @ 2024-12-01 130/week @ 2024-12-08 25/week @ 2024-12-15 7/week @ 2024-12-22 47/week @ 2024-12-29 153/week @ 2025-01-05 451/week @ 2025-01-12 49/week @ 2025-01-19

700 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