mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
input: Bug fix: GamepadButtonN must be GamepadButton type
This commit is contained in:
parent
32f6e68a48
commit
a29c2aea90
32
gamepad.go
32
gamepad.go
@ -23,20 +23,20 @@ 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)
|
||||||
GamepadButton4 = GamepadButton(ui.GamepadButton4)
|
GamepadButton4 = GamepadButton(ui.GamepadButton4)
|
||||||
GamepadButton5 = GamepadButton(ui.GamepadButton5)
|
GamepadButton5 = GamepadButton(ui.GamepadButton5)
|
||||||
GamepadButton6 = GamepadButton(ui.GamepadButton6)
|
GamepadButton6 = GamepadButton(ui.GamepadButton6)
|
||||||
GamepadButton7 = GamepadButton(ui.GamepadButton7)
|
GamepadButton7 = GamepadButton(ui.GamepadButton7)
|
||||||
GamepadButton8 = GamepadButton(ui.GamepadButton8)
|
GamepadButton8 = GamepadButton(ui.GamepadButton8)
|
||||||
GamepadButton9 = GamepadButton(ui.GamepadButton9)
|
GamepadButton9 = GamepadButton(ui.GamepadButton9)
|
||||||
GamepadButton10 = GamepadButton(ui.GamepadButton10)
|
GamepadButton10 = GamepadButton(ui.GamepadButton10)
|
||||||
GamepadButton11 = GamepadButton(ui.GamepadButton11)
|
GamepadButton11 = GamepadButton(ui.GamepadButton11)
|
||||||
GamepadButton12 = GamepadButton(ui.GamepadButton12)
|
GamepadButton12 = GamepadButton(ui.GamepadButton12)
|
||||||
GamepadButton13 = GamepadButton(ui.GamepadButton13)
|
GamepadButton13 = GamepadButton(ui.GamepadButton13)
|
||||||
GamepadButton14 = GamepadButton(ui.GamepadButton14)
|
GamepadButton14 = GamepadButton(ui.GamepadButton14)
|
||||||
GamepadButton15 = GamepadButton(ui.GamepadButton15)
|
GamepadButton15 = GamepadButton(ui.GamepadButton15)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user