internal/gamepad: fix uint16 underflow handling in gamepads. (#2030)
internal/gamepad: fix uint16 underflow handling in gamepads. (#2030)

Fixes crash where Ebiten considers a keyboard a gamepad with way too many buttons.

Updates #2027
hajimehoshi/ebiten,hajimehoshi/ebiten