input: Bug fix: GamepadButtonN must be GamepadButton type

This commit is contained in:
Hajime Hoshi 2016-09-03 15:05:55 +09:00
parent 32f6e68a48
commit a29c2aea90

View File

@ -23,7 +23,7 @@ type GamepadButton int
// GamepadButtons // GamepadButtons
const ( const (
GamepadButton0 = GamepadButton(ui.GamepadButton0) GamepadButton0 GamepadButton = GamepadButton(ui.GamepadButton0)
GamepadButton1 = GamepadButton(ui.GamepadButton1) GamepadButton1 = GamepadButton(ui.GamepadButton1)
GamepadButton2 = GamepadButton(ui.GamepadButton2) GamepadButton2 = GamepadButton(ui.GamepadButton2)
GamepadButton3 = GamepadButton(ui.GamepadButton3) GamepadButton3 = GamepadButton(ui.GamepadButton3)