From f71370679c0260ad690e34c20884292f36679353 Mon Sep 17 00:00:00 2001 From: Kode-Z <162533196+Kode-Z@users.noreply.github.com> Date: Wed, 10 Apr 2024 15:21:29 +0100 Subject: [PATCH] Custom touch controls for Arcade Paradise (#352) * Create 1741728886.json * Create arcade-paradise.json * Update 1741728886.json * Update arcade-paradise.json --- touch-layouts/1741728886.json | 7 ++ touch-layouts/layouts/arcade-paradise.json | 103 +++++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 touch-layouts/1741728886.json create mode 100644 touch-layouts/layouts/arcade-paradise.json diff --git a/touch-layouts/1741728886.json b/touch-layouts/1741728886.json new file mode 100644 index 0000000..a00f33e --- /dev/null +++ b/touch-layouts/1741728886.json @@ -0,0 +1,7 @@ +{ + "name": "Arcade Paradise", + "default_layout": "custom", + "layouts": [ + "arcade-paradise" + ] +} diff --git a/touch-layouts/layouts/arcade-paradise.json b/touch-layouts/layouts/arcade-paradise.json new file mode 100644 index 0000000..ad69e0f --- /dev/null +++ b/touch-layouts/layouts/arcade-paradise.json @@ -0,0 +1,103 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + } + } + ], + "outer": [ + null, + null, + null, + null, + null, + null, + null, + { + "type": "button", + "action": "rightTrigger" + } + ] + }, + "right": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + "outer": [ + { + "type": "button", + "action": "gamepadY", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "reset" + } + } + } + }, + null, + null, + null, + { + "type": "button", + "action": "gamepadB", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "crouch" + } + } + } + }, + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + }, + null + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "view" + }, + { + "type": "button", + "action": "gamepadX" + } + ] + } + } + } + } +}