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

limnus-gamepad

Platform independent gamepad management

3 releases

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

#2186 in Game dev

Download history 116/week @ 2024-11-20 300/week @ 2024-11-27 176/week @ 2024-12-04 89/week @ 2024-12-11 9/week @ 2024-12-18 49/week @ 2024-12-25

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

MIT license

44KB
673 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.12"

License

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

Dependencies

~0.6–1.1MB
~22K SLoC