From 4037eb647f5e24cb7d3d47969494fbfe714e63d0 Mon Sep 17 00:00:00 2001 From: Kode-Z <162533196+Kode-Z@users.noreply.github.com> Date: Sat, 4 May 2024 10:53:39 +0100 Subject: [PATCH] =?UTF-8?q?Touch=20controls=20for=20=E2=80=9CThose=20Who?= =?UTF-8?q?=20Remain=E2=80=9D=20(#384)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create 2046367994.json * Create those-who-remain.json --- touch-layouts/2046367994.json | 7 ++ touch-layouts/layouts/those-who-remain.json | 95 +++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 touch-layouts/2046367994.json create mode 100644 touch-layouts/layouts/those-who-remain.json diff --git a/touch-layouts/2046367994.json b/touch-layouts/2046367994.json new file mode 100644 index 0000000..fc2076f --- /dev/null +++ b/touch-layouts/2046367994.json @@ -0,0 +1,7 @@ +{ + "name": "Those Who Remain", + "default_layout": "custom", + "layouts": [ + "those-who-remain" + ] +} diff --git a/touch-layouts/layouts/those-who-remain.json b/touch-layouts/layouts/those-who-remain.json new file mode 100644 index 0000000..492415f --- /dev/null +++ b/touch-layouts/layouts/those-who-remain.json @@ -0,0 +1,95 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + } + } + ], + "outer": [ + null, + null, + null, + null, + null, + null, + null + ] + }, + "right": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + "outer": [ + { + "type": "button", + "action": "gamepadB", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "throw" + } + } + } + }, + null, + { + "type": "button", + "action": "leftTrigger", + "toggle": true, + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "run" + } + } + } + }, + null, + null, + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "gamepadY" + } + ] + } + } + } + } +}