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

limnus-gamepad

Platform independent gamepad management

3 releases

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

#1748 in Game dev

Download history 56/week @ 2024-11-18 234/week @ 2024-11-25

290 downloads per month
Used in 11 crates (6 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
~23K SLoC