From 74ef24b935b98a71dbc78f02c3e3d18856909ba7 Mon Sep 17 00:00:00 2001 From: Kode-Z <162533196+Kode-Z@users.noreply.github.com> Date: Thu, 21 Mar 2024 00:58:00 +0000 Subject: [PATCH] The Quarry touch controls (#304) * Add files via upload * Add files via upload * Delete touch-layouts/layouts/the-quarry.json * Add files via upload * Update 1731121397.json * Update the-quarry.json * Update the-quarry.json * Update the-quarry.json * Update the-quarry.json * Update the-quarry.json * Update the-quarry.json --------- Co-authored-by: redphx <96280+redphx@users.noreply.github.com> --- touch-layouts/1731121397.json | 7 ++ touch-layouts/layouts/the-quarry.json | 110 ++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 touch-layouts/1731121397.json create mode 100644 touch-layouts/layouts/the-quarry.json diff --git a/touch-layouts/1731121397.json b/touch-layouts/1731121397.json new file mode 100644 index 0000000..2fefcbf --- /dev/null +++ b/touch-layouts/1731121397.json @@ -0,0 +1,7 @@ +{ + "name": "The Quarry", + "default_layout": "custom", + "layouts": [ + "the-quarry" + ] +} diff --git a/touch-layouts/layouts/the-quarry.json b/touch-layouts/layouts/the-quarry.json new file mode 100644 index 0000000..82a053e --- /dev/null +++ b/touch-layouts/layouts/the-quarry.json @@ -0,0 +1,110 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "custom", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "action": "leftBumper", + "actionThreshold": 2, + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, + "styles": { + "default": { + "knob": { + "faceImage": { + "type": "icon", + "value": "walk" + } + } + }, + "activated": { + "knob": { + "faceImage": { + "type": "icon", + "value": "sprint" + } + } + } + } + } + ], + "outer": [ + { + "type": "button", + "action": "rightBumper" + }, + null, + null, + null, + null, + null, + null, + { + "type": "button", + "action": "leftBumper" + } + ] + }, + "right": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + "outer": [ + null, + { + "type": "button", + "action": "gamepadB" + }, + null, + null, + null, + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + }, + { + "type": "button", + "action": "rightTrigger" + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "gamepadY" + }, + { + "type": "button", + "action": "gamepadX" + } + ] + } + } + } + } +}