From 66b8b5a2868cb3017f3dad7c2cea33267e687d70 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sun, 11 Feb 2024 12:05:46 +0700 Subject: [PATCH] brotato: update layouts --- touch-layouts/layouts/brotato.json | 182 ++++++++++++++--------------- 1 file changed, 89 insertions(+), 93 deletions(-) diff --git a/touch-layouts/layouts/brotato.json b/touch-layouts/layouts/brotato.json index a7d4b90..3bffb46 100644 --- a/touch-layouts/layouts/brotato.json +++ b/touch-layouts/layouts/brotato.json @@ -16,41 +16,38 @@ } ], "outer": [ - [ - { - "type": "button", - "action": "gamepadA", - "styles": { - "idle": { - "opacity": 0.7 - } + null, + { + "type": "button", + "action": "gamepadA", + "styles": { + "idle": { + "opacity": 0.7 } } - ], + }, null, null, - [ - { - "type": "button", - "action": "leftBumper", - "styles": { - "idle": { - "opacity": 0.7 - } + null, + null, + { + "type": "button", + "action": "gamepadB", + "styles": { + "idle": { + "opacity": 0.7 } } - ], - [ - { - "type": "button", - "action": "gamepadB", - "styles": { - "idle": { - "opacity": 0.7 - } + }, + { + "type": "button", + "action": "leftBumper", + "styles": { + "idle": { + "opacity": 0.7 } } - ] + } ] }, "upper": { @@ -78,41 +75,37 @@ } ], "outer": [ - [ - { - "type": "button", - "action": "gamepadB", - "styles": { - "idle": { - "opacity": 0.7 - } + { + "type": "button", + "action": "leftBumper", + "styles": { + "idle": { + "opacity": 0.7 } } - ], - [ - { - "type": "button", - "action": "leftBumper", - "styles": { - "idle": { - "opacity": 0.7 - } + }, + { + "type": "button", + "action": "gamepadB", + "styles": { + "idle": { + "opacity": 0.7 } } - ], + }, null, null, - [ - { - "type": "button", - "action": "gamepadA", - "styles": { - "idle": { - "opacity": 0.7 - } + null, + null, + { + "type": "button", + "action": "gamepadA", + "styles": { + "idle": { + "opacity": 0.7 } } - ] + } ] }, "upper": { @@ -126,46 +119,49 @@ } }, "simplified": { - "left": { - "inner": [ - { - "type": "joystick", - "relative": false, - "axis": { - "input": "axisXY", - "output": "leftJoystick" + "name": "Simplified", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "relative": false, + "axis": { + "input": "axisXY", + "output": "leftJoystick" + } } - } - ] - }, - "right": { - "inner": [ - { - "type": "button", - "action": "gamepadA" - } - ], - "outer": [ - { - "type": "blank" - }, - { - "type": "button", - "action": "gamepadB" - } - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - }, - { - "type": "button", - "action": "rightBumper" - } - ] + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadA" + } + ], + "outer": [ + { + "type": "blank" + }, + { + "type": "button", + "action": "gamepadB" + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "rightBumper" + } + ] + } } }, "simplified-full": {