From 98f34b4829ba761ade98e706768148e4c5b6037c Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Tue, 30 Jan 2024 08:41:36 +0700 Subject: [PATCH] Brotato: first layout --- touch-layouts/2008767227.json | 94 +++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 touch-layouts/2008767227.json diff --git a/touch-layouts/2008767227.json b/touch-layouts/2008767227.json new file mode 100644 index 0000000..46d3a10 --- /dev/null +++ b/touch-layouts/2008767227.json @@ -0,0 +1,94 @@ +{ + "name": "Brotato", + "layout": { + "left": { + "inner": [ + { + "type": "joystick", + "expand": false, + "axis": { + "input": "axisXY", + "output": "leftJoystick", + "deadzone": { + "threshold": 0.01, + "radial": true + } + } + } + ], + "outer": [ + null, + null, + [ + { + "type": "directionalPad", + "styles": { + "idle": { + "opacity": 0.5 + } + } + } + ] + ] + }, + "right": { + "inner": [ + { + "type": "blank" + }, + { + "type": "button", + "action": "gamepadB" + }, + { + "type": "button", + "action": "gamepadA" + }, + { + "type": "blank" + } + ], + "outer": [ + { + "type": "blank" + }, + { + "type": "button", + "action": "rightTrigger" + }, + null, + { + "type": "blank" + }, + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick", + "deadzone": { + "threshold": 0.01, + "radial": true + } + }, + "styles": { + "idle": { + "knob": { + "opacity": 0.5 + } + } + } + } + ] + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + } + ] + } + } +}