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
Yeah panicking it a terrible idea, just return None in those cases (or better: implement them). It's not really a bug since it's expected, but it should be fixed nonetheless.
SDL2 has some undocumented button types for game controllers.
Currently, these are:
Although they are present in the automatically-generated bindings, they have no defined equivalent in the safe bindings.
When these button events appear, the following line causes a panic:
rust-sdl2/src/sdl2/controller.rs
Line 333 in c4f31c6
This is the root cause of #1128.
The text was updated successfully, but these errors were encountered: