From b2523dd55636e1b82be2bbae637e9670ec7326bf Mon Sep 17 00:00:00 2001 From: Kode-Z <162533196+Kode-Z@users.noreply.github.com> Date: Sun, 31 Mar 2024 16:24:52 +0100 Subject: [PATCH] =?UTF-8?q?Custom=20controls=20for=20Playdead=E2=80=99s=20?= =?UTF-8?q?LIMBO=20and=20INSIDE.=20(#334)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create limbo.json * Create inside.json * Create 398011207.json * Create 885488152.json * Update inside.json * Update limbo.json --- touch-layouts/398011207.json | 7 +++ touch-layouts/885488152.json | 7 +++ touch-layouts/layouts/inside.json | 73 +++++++++++++++++++++++++++++++ touch-layouts/layouts/limbo.json | 73 +++++++++++++++++++++++++++++++ 4 files changed, 160 insertions(+) create mode 100644 touch-layouts/398011207.json create mode 100644 touch-layouts/885488152.json create mode 100644 touch-layouts/layouts/inside.json create mode 100644 touch-layouts/layouts/limbo.json diff --git a/touch-layouts/398011207.json b/touch-layouts/398011207.json new file mode 100644 index 0000000..d2ae45f --- /dev/null +++ b/touch-layouts/398011207.json @@ -0,0 +1,7 @@ +{ + "name": "LIMBO", + "default_layout": "custom", + "layouts": [ + "limbo" + ] +} diff --git a/touch-layouts/885488152.json b/touch-layouts/885488152.json new file mode 100644 index 0000000..36a5717 --- /dev/null +++ b/touch-layouts/885488152.json @@ -0,0 +1,7 @@ +{ + "name": "INSIDE", + "default_layout": "custom", + "layouts": [ + "inside" + ] +} diff --git a/touch-layouts/layouts/inside.json b/touch-layouts/layouts/inside.json new file mode 100644 index 0000000..5281959 --- /dev/null +++ b/touch-layouts/layouts/inside.json @@ -0,0 +1,73 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "expand": false, + "axis": { + "input": "axisXY", + "output": "leftJoystick", + "deadzone": { + "threshold": 0.05, + "radial": true + } + } + } + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "jump" + } + } + } + } + ], + "outer": [ + null, + null, + null, + null, + null, + { + "type": "button", + "action": "gamepadX", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "gamepadB" + } + ] + } + } + } + } +} diff --git a/touch-layouts/layouts/limbo.json b/touch-layouts/layouts/limbo.json new file mode 100644 index 0000000..5281959 --- /dev/null +++ b/touch-layouts/layouts/limbo.json @@ -0,0 +1,73 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "expand": false, + "axis": { + "input": "axisXY", + "output": "leftJoystick", + "deadzone": { + "threshold": 0.05, + "radial": true + } + } + } + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "jump" + } + } + } + } + ], + "outer": [ + null, + null, + null, + null, + null, + { + "type": "button", + "action": "gamepadX", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "gamepadB" + } + ] + } + } + } + } +}