This commit is contained in:
igor725 2024-05-07 02:46:25 +03:00
parent f0b1967be4
commit 3899ee0ea4
No known key found for this signature in database
GPG Key ID: 46F13BBE46F8569D
2 changed files with 29 additions and 24 deletions

View File

@ -39,6 +39,9 @@
"gamereport.send": {
"$ref": "#/definitions/button"
},
"overlay.open": {
"$ref": "#/definitions/button"
},
"controller.circle": {
"$ref": "#/definitions/button"
},

View File

@ -16,30 +16,32 @@ You can change the layout now in _controls.json_, if you want to.
// These binds will be used to emulate gamepad actions for the pad with `type` set to "keyboard"
// Key names can be obtained here: https://wiki.libsdl.org/SDL2/SDL_Scancode
"keybinds": {
"circle": "l",
"cross": "k",
"dpad_down": "down",
"dpad_left": "left",
"dpad_right": "right",
"dpad_up": "up",
"l1": "f3",
"l2": "f5",
"l3": "space",
"lx+": "d",
"lx-": "a",
"ly+": "s",
"ly-": "w",
"options": "f1",
"r1": "f2",
"r2": "f6",
"r3": "home",
"rx+": "f",
"rx-": "h",
"ry+": "g",
"ry-": "t",
"square": "j",
"touchpad": "f4",
"triangle": "i"
"gamereport.send": "f11",
"overlay.open": "tab",
"controller.circle": "l",
"controller.cross": "k",
"controller.dpad_down": "down",
"controller.dpad_left": "left",
"controller.dpad_right": "right",
"controller.dpad_up": "up",
"controller.l1": "f3",
"controller.l2": "f5",
"controller.l3": "space",
"controller.lx+": "d",
"controller.lx-": "a",
"controller.ly+": "s",
"controller.ly-": "w",
"controller.options": "f1",
"controller.r1": "f2",
"controller.r2": "f6",
"controller.r3": "home",
"controller.rx+": "f",
"controller.rx-": "h",
"controller.ry+": "g",
"controller.ry-": "t",
"controller.square": "j",
"controller.touchpad": "f4",
"controller.triangle": "i"
},
// This array contains 4 objects with the similar structure.
// These objects describes the parameters for each pad