mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
input: Extend number of gamepad buttons from 16 to 32 (for PS4)
This commit is contained in:
parent
bc29a6a355
commit
ae378dc7f5
18
gamepad.go
18
gamepad.go
@ -39,5 +39,21 @@ const (
|
|||||||
GamepadButton13 = GamepadButton(ui.GamepadButton13)
|
GamepadButton13 = GamepadButton(ui.GamepadButton13)
|
||||||
GamepadButton14 = GamepadButton(ui.GamepadButton14)
|
GamepadButton14 = GamepadButton(ui.GamepadButton14)
|
||||||
GamepadButton15 = GamepadButton(ui.GamepadButton15)
|
GamepadButton15 = GamepadButton(ui.GamepadButton15)
|
||||||
GamepadButtonMax = GamepadButton15
|
GamepadButton16 = GamepadButton(ui.GamepadButton16)
|
||||||
|
GamepadButton17 = GamepadButton(ui.GamepadButton17)
|
||||||
|
GamepadButton18 = GamepadButton(ui.GamepadButton18)
|
||||||
|
GamepadButton19 = GamepadButton(ui.GamepadButton19)
|
||||||
|
GamepadButton20 = GamepadButton(ui.GamepadButton20)
|
||||||
|
GamepadButton21 = GamepadButton(ui.GamepadButton21)
|
||||||
|
GamepadButton22 = GamepadButton(ui.GamepadButton22)
|
||||||
|
GamepadButton23 = GamepadButton(ui.GamepadButton23)
|
||||||
|
GamepadButton24 = GamepadButton(ui.GamepadButton24)
|
||||||
|
GamepadButton25 = GamepadButton(ui.GamepadButton25)
|
||||||
|
GamepadButton26 = GamepadButton(ui.GamepadButton26)
|
||||||
|
GamepadButton27 = GamepadButton(ui.GamepadButton27)
|
||||||
|
GamepadButton28 = GamepadButton(ui.GamepadButton28)
|
||||||
|
GamepadButton29 = GamepadButton(ui.GamepadButton29)
|
||||||
|
GamepadButton30 = GamepadButton(ui.GamepadButton30)
|
||||||
|
GamepadButton31 = GamepadButton(ui.GamepadButton31)
|
||||||
|
GamepadButtonMax = GamepadButton31
|
||||||
)
|
)
|
||||||
|
@ -33,4 +33,20 @@ const (
|
|||||||
GamepadButton13
|
GamepadButton13
|
||||||
GamepadButton14
|
GamepadButton14
|
||||||
GamepadButton15
|
GamepadButton15
|
||||||
|
GamepadButton16
|
||||||
|
GamepadButton17
|
||||||
|
GamepadButton18
|
||||||
|
GamepadButton19
|
||||||
|
GamepadButton20
|
||||||
|
GamepadButton21
|
||||||
|
GamepadButton22
|
||||||
|
GamepadButton23
|
||||||
|
GamepadButton24
|
||||||
|
GamepadButton25
|
||||||
|
GamepadButton26
|
||||||
|
GamepadButton27
|
||||||
|
GamepadButton28
|
||||||
|
GamepadButton29
|
||||||
|
GamepadButton30
|
||||||
|
GamepadButton31
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user