diff --git a/touch-layouts/dev/2008767227.json b/touch-layouts/dev/2008767227.json index be5b27f..10a0136 100644 --- a/touch-layouts/dev/2008767227.json +++ b/touch-layouts/dev/2008767227.json @@ -1,10 +1,142 @@ { "schema_version": 2, "name": "Brotato", - "default_layout": "one-hand-left", + "default_layout": "one-handed-left", "layouts": { - "default": { - "name": "Default", + "one-handed-left": { + "name": "One-handed (Left)", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "relative": false, + "axis": { + "input": "axisXY", + "output": "leftJoystick" + } + } + ], + "outer": [ + null, + null, + [ + { + "type": "directionalPad", + "styles": { + "idle": { + "opacity": 0.5 + } + } + } + ], + null, + { + "type": "button", + "action": "gamepadA", + "styles": { + "idle": { + "opacity": 0.5 + } + } + }, + { + "type": "button", + "action": "gamepadB", + "styles": { + "idle": { + "opacity": 0.5 + } + } + }, + { + "type": "button", + "action": "rightBumper", + "styles": { + "idle": { + "opacity": 0.5 + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + } + ] + } + } + }, + "one-handed-right": { + "name": "One-handed (Right)", + "content": { + "right": { + "inner": [ + { + "type": "joystick", + "relative": false, + "axis": { + "input": "axisXY", + "output": "leftJoystick" + } + } + ], + "outer": [ + { + "type": "button", + "action": "rightBumper", + "styles": { + "idle": { + "opacity": 0.5 + } + } + }, + { + "type": "button", + "action": "gamepadB", + "styles": { + "idle": { + "opacity": 0.5 + } + } + }, + { + "type": "button", + "action": "gamepadA", + "styles": { + "idle": { + "opacity": 0.5 + } + } + }, + null, + [ + { + "type": "directionalPad", + "styles": { + "idle": { + "opacity": 0.5 + } + } + } + ] + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + } + ] + } + } + }, + "simplified": { + "name": "Simplified", "content": { "left": { "inner": [ @@ -63,8 +195,8 @@ } } }, - "default-aim": { - "name": "Default with Aim", + "simplified-full": { + "name": "Simplified (2 joysticks)", "content": { "left": { "inner": [ @@ -142,138 +274,6 @@ ] } } - }, - "one-hand-left": { - "name": "One hand (Left)", - "content": { - "left": { - "inner": [ - { - "type": "joystick", - "relative": false, - "axis": { - "input": "axisXY", - "output": "leftJoystick" - } - } - ], - "outer": [ - null, - null, - [ - { - "type": "directionalPad", - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ], - null, - { - "type": "button", - "action": "gamepadA", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - { - "type": "button", - "action": "gamepadB", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - { - "type": "button", - "action": "rightBumper", - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - } - ] - } - } - }, - "one-hand-right": { - "name": "One hand (Right)", - "content": { - "right": { - "inner": [ - { - "type": "joystick", - "relative": false, - "axis": { - "input": "axisXY", - "output": "leftJoystick" - } - } - ], - "outer": [ - { - "type": "button", - "action": "rightBumper", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - { - "type": "button", - "action": "gamepadB", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - { - "type": "button", - "action": "gamepadA", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - null, - [ - { - "type": "directionalPad", - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ] - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - } - ] - } - } } } }