From 81895e5ce99c4bd4c0ab0d408eaf3a1ec4b6f936 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Tue, 16 Apr 2024 21:07:15 +0700 Subject: [PATCH] harold-halibut: add layout --- touch-layouts/1669177732.json | 7 ++ touch-layouts/layouts/harold-halibut.json | 99 +++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 touch-layouts/1669177732.json create mode 100644 touch-layouts/layouts/harold-halibut.json diff --git a/touch-layouts/1669177732.json b/touch-layouts/1669177732.json new file mode 100644 index 0000000..730f808 --- /dev/null +++ b/touch-layouts/1669177732.json @@ -0,0 +1,7 @@ +{ + "name": "Harold Halibut", + "default_layout": "custom", + "layouts": [ + "harold-halibut" + ] +} diff --git a/touch-layouts/layouts/harold-halibut.json b/touch-layouts/layouts/harold-halibut.json new file mode 100644 index 0000000..1796344 --- /dev/null +++ b/touch-layouts/layouts/harold-halibut.json @@ -0,0 +1,99 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, + "action": "gamepadX", + "actionThreshold": 3, + "expand": false, + "styles": { + "default": { + "knob": { + "faceImage": { + "type": "icon", + "value": "walk" + } + } + }, + "activated": { + "knob": { + "faceImage": { + "type": "icon", + "value": "run" + } + } + } + } + } + ], + "outer": [ + { + "type": "button", + "action": "rightBumper" + }, + null, + 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": "phone" + } + } + } + }, + { + "type": "button", + "action": "rightTrigger" + }, + { + "type": "button", + "action": "gamepadB" + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + } + ] + } + } + } + } +}