From 35abb199e341199e7e1e7d88f167d7ca5961c2fe Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Wed, 7 Feb 2024 06:24:32 +0700 Subject: [PATCH] Cocoon: add layout --- touch-layouts/1610974574.json | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 touch-layouts/1610974574.json diff --git a/touch-layouts/1610974574.json b/touch-layouts/1610974574.json new file mode 100644 index 0000000..7fc0467 --- /dev/null +++ b/touch-layouts/1610974574.json @@ -0,0 +1,44 @@ +{ + "schema_version": 2, + "name": "Cocoon", + "default_layout": "custom", + "layouts": { + "custom": { + "name": "Custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, + "relative": false + } + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadA" + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "gamepadB" + } + ] + } + } + } + } +}