From 60f39bf5d2c0ad4e0639811a12ef934382cc1045 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sat, 13 Apr 2024 07:00:00 +0700 Subject: [PATCH] botany-manor: add layout --- touch-layouts/1844418156.json | 7 ++ touch-layouts/layouts/botany-manor.json | 124 ++++++++++++++++++++++++ 2 files changed, 131 insertions(+) create mode 100644 touch-layouts/1844418156.json create mode 100644 touch-layouts/layouts/botany-manor.json diff --git a/touch-layouts/1844418156.json b/touch-layouts/1844418156.json new file mode 100644 index 0000000..00f6991 --- /dev/null +++ b/touch-layouts/1844418156.json @@ -0,0 +1,7 @@ +{ + "name": "Botany Manor", + "default_layout": "custom", + "layouts": [ + "botany-manor" + ] +} diff --git a/touch-layouts/layouts/botany-manor.json b/touch-layouts/layouts/botany-manor.json new file mode 100644 index 0000000..af01cbe --- /dev/null +++ b/touch-layouts/layouts/botany-manor.json @@ -0,0 +1,124 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, + "action": "leftBumper", + "actionThreshold": 2, + "expand": false, + "styles": { + "default": { + "knob": { + "faceImage": { + "type": "icon", + "value": "walk" + } + } + }, + "activated": { + "knob": { + "faceImage": { + "type": "icon", + "value": "run" + } + } + } + } + } + ], + "outer": [ + { + "type": "button", + "action": "rightBumper" + }, + { + "type": "button", + "action": "rightTrigger" + }, + null, + null, + null, + null, + { + "type": "button", + "action": "leftTrigger" + }, + { + "type": "button", + "action": "leftBumper" + } + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadA" + } + ], + "outer": [ + { + "type": "button", + "action": "gamepadY", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "book" + } + } + } + }, + [ + { + "type": "button", + "action": "gamepadB" + }, + null + ], + null, + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + null, + { + "type": "button", + "action": "gamepadX", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "look" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + } + ] + } + } + } + } +}