From df79d23d3dd41b0bc9cf2ac41186b1005e50b42f Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sat, 10 Feb 2024 18:26:42 +0700 Subject: [PATCH] Turnip Boy Robs a Bank: add layout --- touch-layouts/1866559372.json | 7 +++ touch-layouts/layouts/turnip-boy.json | 91 +++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 touch-layouts/1866559372.json create mode 100644 touch-layouts/layouts/turnip-boy.json diff --git a/touch-layouts/1866559372.json b/touch-layouts/1866559372.json new file mode 100644 index 0000000..5af5839 --- /dev/null +++ b/touch-layouts/1866559372.json @@ -0,0 +1,7 @@ +{ + "name": "Turnip Boy Robs a Bank", + "default_layout": "custom", + "layouts": [ + "turnip-boy" + ] +} diff --git a/touch-layouts/layouts/turnip-boy.json b/touch-layouts/layouts/turnip-boy.json new file mode 100644 index 0000000..c381c28 --- /dev/null +++ b/touch-layouts/layouts/turnip-boy.json @@ -0,0 +1,91 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + } + } + ], + "outer": [ + { + "type": "button", + "action": "rightBumper" + }, + null, + null, + null, + null, + null, + null, + { + "type": "button", + "action": "leftBumper" + } + ] + }, + "right": { + "inner": [ + { + "type": "joystick", + "expand": false, + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + "outer": [ + null, + null, + null, + null, + null, + [ + { + "type": "button", + "action": "gamepadB", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "roll" + } + } + } + }, + null + ], + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + } + ] + } + } + } + } +}