diff --git a/touch-layouts/1884102336.json b/touch-layouts/1884102336.json new file mode 100644 index 0000000..c67af56 --- /dev/null +++ b/touch-layouts/1884102336.json @@ -0,0 +1,7 @@ +{ + "name": "Return of the Obra Dinn", + "default_layout": "custom", + "layouts": [ + "obra-dinn" + ] +} diff --git a/touch-layouts/layouts/obra-dinn.json b/touch-layouts/layouts/obra-dinn.json new file mode 100644 index 0000000..b48cb6c --- /dev/null +++ b/touch-layouts/layouts/obra-dinn.json @@ -0,0 +1,178 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "expand": false, + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, + "styles": { + "default": { + "knob": { + "background": { + "type": "color", + "value": "#00000030" + }, + "stroke": { + "type": "solid", + "color": "#ffffff", + "opacity": 1 + } + } + } + } + } + ], + "outer": [ + { + "type": "button", + "action": "rightBumper", + "styles": { + "idle": { + "background": { + "type": "color", + "value": "#00000030" + } + } + } + }, + null, + null, + null, + null, + null, + null, + { + "type": "button", + "action": "leftBumper", + "styles": { + "idle": { + "background": { + "type": "color", + "value": "#00000030" + } + } + } + } + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadA", + "styles": { + "idle": { + "background": { + "type": "color", + "value": "#00000030" + } + }, + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + } + ], + "outer": [ + { + "type": "button", + "action": "gamepadY", + "styles": { + "idle": { + "background": { + "type": "color", + "value": "#00000030" + } + }, + "default": { + "faceImage": { + "type": "icon", + "value": "book" + } + } + } + }, + [ + { + "type": "button", + "action": "gamepadB", + "styles": { + "idle": { + "background": { + "type": "color", + "value": "#00000030" + } + } + } + }, + null + ], + null, + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + }, + "styles": { + "default": { + "knob": { + "background": { + "type": "color", + "value": "#00000030" + }, + "stroke": { + "type": "solid", + "color": "#ffffff", + "opacity": 1 + } + } + } + } + } + ], + null, + { + "type": "button", + "action": "gamepadX", + "styles": { + "idle": { + "background": { + "type": "color", + "value": "#00000030" + } + }, + "default": { + "faceImage": { + "type": "icon", + "value": "rewind" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + } + ] + } + } + } + } +}