From c6c1e3181fc4c4bc31fb04689a158682ae075fa6 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sun, 11 Feb 2024 11:30:15 +0700 Subject: [PATCH] brotato: simplify layouts --- touch-layouts/layouts/brotato.json | 228 +++++++++++------------------ 1 file changed, 86 insertions(+), 142 deletions(-) diff --git a/touch-layouts/layouts/brotato.json b/touch-layouts/layouts/brotato.json index fbf3b84..a7d4b90 100644 --- a/touch-layouts/layouts/brotato.json +++ b/touch-layouts/layouts/brotato.json @@ -16,50 +16,41 @@ } ], "outer": [ - null, - { - "type": "button", - "action": "gamepadA", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, [ { - "type": "directionalPad", - "scale": 1.2, - "interaction": { - "activationType": "exclusive" - }, + "type": "button", + "action": "gamepadA", "styles": { "idle": { - "opacity": 0.5 + "opacity": 0.7 } } } ], null, null, - { - "type": "button", - "action": "leftBumper", - "styles": { - "idle": { - "opacity": 0.5 + [ + { + "type": "button", + "action": "leftBumper", + "styles": { + "idle": { + "opacity": 0.7 + } } } - }, - { - "type": "button", - "action": "gamepadB", - "styles": { - "idle": { - "opacity": 0.5 + ], + [ + { + "type": "button", + "action": "gamepadB", + "styles": { + "idle": { + "opacity": 0.7 + } } } - } + ] ] }, "upper": { @@ -87,49 +78,41 @@ } ], "outer": [ - { - "type": "button", - "action": "gamepadB", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - { - "type": "button", - "action": "rightBumper", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - null, - null, [ { - "type": "directionalPad", - "scale": 1.2, - "interaction": { - "activationType": "exclusive" - }, + "type": "button", + "action": "gamepadB", "styles": { "idle": { - "opacity": 0.5 + "opacity": 0.7 } } } ], - { - "type": "button", - "action": "gamepadA", - "styles": { - "idle": { - "opacity": 0.5 + [ + { + "type": "button", + "action": "leftBumper", + "styles": { + "idle": { + "opacity": 0.7 + } } } - } + ], + null, + null, + [ + { + "type": "button", + "action": "gamepadA", + "styles": { + "idle": { + "opacity": 0.7 + } + } + } + ] ] }, "upper": { @@ -143,67 +126,46 @@ } }, "simplified": { - "name": "Simplified", - "content": { - "left": { - "inner": [ - { - "type": "joystick", - "relative": false, - "axis": { - "input": "axisXY", - "output": "leftJoystick" - } + "left": { + "inner": [ + { + "type": "joystick", + "relative": false, + "axis": { + "input": "axisXY", + "output": "leftJoystick" } - ], - "outer": [ - null, - null, - [ - { - "type": "directionalPad", - "scale": 1.2, - "interaction": { - "activationType": "exclusive" - }, - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ] - ] - }, - "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": { @@ -219,24 +181,6 @@ "output": "leftJoystick" } } - ], - "outer": [ - null, - null, - [ - { - "type": "directionalPad", - "scale": 1.2, - "interaction": { - "activationType": "exclusive" - }, - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ] ] }, "right": { @@ -268,7 +212,7 @@ "styles": { "idle": { "knob": { - "opacity": 0.5 + "opacity": 0.7 } } }