Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gamepad support #17

Open
ElnuDev opened this issue Sep 3, 2021 · 7 comments
Open

Add gamepad support #17

ElnuDev opened this issue Sep 3, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@ElnuDev
Copy link
Owner

ElnuDev commented Sep 3, 2021

No description provided.

@ElnuDev ElnuDev added the enhancement New feature or request label Sep 3, 2021
@grtcdr
Copy link
Contributor

grtcdr commented Sep 4, 2021

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?

@ElnuDev
Copy link
Owner Author

ElnuDev commented Sep 4, 2021

I have no idea honestly. I think Bevy has gamepad support built-in, but I haven't looked into it yet.

@grtcdr
Copy link
Contributor

grtcdr commented Sep 4, 2021

Interesting, is it cross-platform?

@ElnuDev
Copy link
Owner Author

ElnuDev commented Sep 4, 2021

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.

@grtcdr
Copy link
Contributor

grtcdr commented Sep 4, 2021

Wonderful, I'm a controller guy myself.

@ElnuDev
Copy link
Owner Author

ElnuDev commented Sep 4, 2021

Nice! I'll let you know when we get gamepad support in

@kroltan
Copy link
Contributor

kroltan commented Sep 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants