You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Surprised nobody's tackled this one yet. We already handle keyboard and mouse input, so gamepad input seems to be the logical next step.
Anyone looking for inspiration might want to see how SDL2 does this: basically they maintain a list of controllers and map them as closely to the XInput layout as possible. That doesn't have to be the strategy we use here, and there is some legacy code in there as well (mainly deprecated Windows APIs like DirectInput), but I think it's a reasonable starting point.
Activity
tomaka commentedon Jan 24, 2017
There was already a discussion here: rust-windowing/glutin#151
Basically it's "won't fix, should be an external library".
Osspial commentedon Apr 24, 2019
Closing in favor of #804. This is something we want, but we need help implementing it on other platforms.
fix(macos): Window state (`visible`) (rust-windowing#119)