hebi
hebi copied to clipboard
Add gamepad support
What's the situation like when it comes to gamepad support in the Rust ecosystem?
I know Linux basically provides an interface to pretty much a lot of controllers and gamepads, will you be making direct calls to those interfaces or looking for a more abstracted/convenient wrapper?
I have no idea honestly. I think Bevy has gamepad support built-in, but I haven't looked into it yet.
Interesting, is it cross-platform?
It is. I have done builds to both Linux and Windows, and one should in theory be able to build to WebAssembly and mobile (don't quote me on that, but I think it has Android support at least) as well.
Wonderful, I'm a controller guy myself.
Nice! I'll let you know when we get gamepad support in
Interesting, is it cross-platform?
Yeah, Bevy uses gilrs under the hood, From its README:
Supported features
Input Hotplugging Force feedback Linux ✓ ✓ ✓ Windows (XInput) ✓ ✓ ✓ OS X ✓ ✓ ✕ Wasm ✓ ✓ n/a Android ✕ ✕ ✕