mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-06 16:32:16 +02:00
Add submit inputs on gamepad.
Previously, only the touchpad on ps4 would act as hitting return/enter on keyboard, locking xinput gamepads out of doing so.
This commit is contained in:
parent
b43a6ec764
commit
762b3bff61
@ -214,7 +214,7 @@ export default class BattleScene extends SceneBase {
|
||||
[Button.DOWN]: 13, // down
|
||||
[Button.LEFT]: 14, // left
|
||||
[Button.RIGHT]: 15, // right
|
||||
[Button.SUBMIT]: 17, // touchpad
|
||||
[Button.SUBMIT]: [17, 8] // touchpad (ps4) back button (xbox ps4/5)
|
||||
[Button.ACTION]: 0, // X
|
||||
[Button.CANCEL]: 1, // O
|
||||
[Button.MENU]: 9, // options
|
||||
|
Loading…
Reference in New Issue
Block a user