SDL2 has some [undocumented button types](https://github.com/libsdl-org/SDL/blob/0d541e5a88ed00bfa3010e7f521c6e8b449b70df/include/SDL_gamecontroller.h#L633-L638) for game controllers. Currently, these are: ``` SDL_CONTROLLER_BUTTON_MISC1 SDL_CONTROLLER_BUTTON_PADDLE1 SDL_CONTROLLER_BUTTON_PADDLE2 SDL_CONTROLLER_BUTTON_PADDLE3 SDL_CONTROLLER_BUTTON_PADDLE4 SDL_CONTROLLER_BUTTON_TOUCHPAD ``` Although they are present in the [automatically-generated bindings](https://github.com/Rust-SDL2/rust-sdl2/blob/c4f31c6b37e141f29464c891666dd90b9f50a781/sdl2-sys/sdl_bindings.rs#L10664-L10669), they have [no defined equivalent](https://github.com/Rust-SDL2/rust-sdl2/blob/c4f31c6b37e141f29464c891666dd90b9f50a781/src/sdl2/controller.rs#L263) in the safe bindings. When these button events appear, the following line causes a panic: https://github.com/Rust-SDL2/rust-sdl2/blob/c4f31c6b37e141f29464c891666dd90b9f50a781/src/sdl2/controller.rs#L333 This is the root cause of #1128.