Crates.io | stick |
lib.rs | stick |
version | 0.13.0 |
source | src |
created_at | 2018-01-21 05:32:54.403088 |
updated_at | 2023-03-04 00:49:17.299189 |
description | Platform-agnostic asynchronous gamepad, joystick and flighstick library |
homepage | https://github.com/ardaku/stick/blob/stable/CHANGELOG.md |
repository | https://github.com/ardaku/stick |
max_upload_size | |
id | 47629 |
size | 182,407 |
Stick supports getting controller input from a large variety of gamepads, joysticks, flightsticks, and other controllers. Stick also supports left/right rumble haptic effects.
The main reason is that I hadn't heard of gilrs when I started stick back in 2017 when gilrs was only a year old and had less than 500 all-time downloads. Now, I think there are many other reasons for stick to exist despite gilrs:
async/.await
for gamepads, joysticks, etc (I recommend
using the pasts
crate for a simple single-threaded executor).ActionA
and ActionB
instead of South
and
East
)API documentation can be found on docs.rs.
You may enable the following features
You can use the changelog to facilitate upgrading this crate as a dependency.
Licensed under any of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.
If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.