From 634c8824a1dc65c223a56445a0eade8050daa14e Mon Sep 17 00:00:00 2001 From: Kode-Z <162533196+Kode-Z@users.noreply.github.com> Date: Wed, 27 Aug 2025 00:21:54 +0100 Subject: [PATCH] Custom touch controls for Gears of War Reloaded & RoboCop: Rogue City - Unfinished Business (#774) * Add files via upload * Add files via upload * Update doom-doom-ii.json Added another layout (joystick). * Update 1714795112.json Updated to reflect additional layout. * Update doom-64.json Added another layout (joystick). * Update 2136041956.json Amended to reflect additional layout. * Update resident-evil-4-remake.json Minor changes * Update resident-evil-4-remake.json Last chance - added RB button for solving puzzles / menu navigation. * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload --- touch-layouts/1709856057.json | 7 + touch-layouts/1829869520.json | 7 + .../layouts/gears-of-war-reloaded.json | 230 ++++++++++++++++++ 3 files changed, 244 insertions(+) create mode 100644 touch-layouts/1709856057.json create mode 100644 touch-layouts/1829869520.json create mode 100644 touch-layouts/layouts/gears-of-war-reloaded.json diff --git a/touch-layouts/1709856057.json b/touch-layouts/1709856057.json new file mode 100644 index 0000000..affcaab --- /dev/null +++ b/touch-layouts/1709856057.json @@ -0,0 +1,7 @@ +{ + "name": "RoboCop: Rogue City - Unfinished Business", + "default_layout": "custom", + "layouts": [ + "robocop-rogue-city" + ] +} \ No newline at end of file diff --git a/touch-layouts/1829869520.json b/touch-layouts/1829869520.json new file mode 100644 index 0000000..759125a --- /dev/null +++ b/touch-layouts/1829869520.json @@ -0,0 +1,7 @@ +{ + "name": "Gears of War: Reloaded", + "default_layout": "custom", + "layouts": [ + "gears-of-war-reloaded" + ] +} \ No newline at end of file diff --git a/touch-layouts/layouts/gears-of-war-reloaded.json b/touch-layouts/layouts/gears-of-war-reloaded.json new file mode 100644 index 0000000..7769903 --- /dev/null +++ b/touch-layouts/layouts/gears-of-war-reloaded.json @@ -0,0 +1,230 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "author": "Kode-Z", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick", + "deadzone": { + "threshold": 0.05, + "radial": true + } + } + } + ], + "outer": [ + [ + { + "type": "button", + "action": "leftBumper", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "phone" + } + } + } + } + ], + [ + { + "type": "directionalPad" + } + ], + [ + { + "type": "button", + "action": "leftThumb", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "crouch" + } + } + } + } + ], + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick", + "deadzone": { + "threshold": 0, + "radial": true + } + }, + "action": "leftTrigger", + "styles": { + "default": { + "knob": { + "faceImage": { + "type": "icon", + "value": "leftTrigger" + }, + "background": { + "type": "color", + "value": "#ffffff", + "opacity": 0.1 + }, + "stroke": { + "opacity": 0.1 + } + } + } + } + } + ] + ] + }, + "right": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + "outer": [ + null, + null, + null, + { + "type": "button", + "action": "rightThumb", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "zoomIn" + } + } + } + }, + [ + { + "type": "button", + "action": "gamepadA" + }, + { + "type": "touchpad", + "axis": { + "input": "axisXY", + "output": "rightJoystick", + "sensitivity": 5, + "deadzone": { + "threshold": 0, + "radial": true + } + }, + "renderAsButton": true, + "action": [ + "gamepadB" + ], + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "lightPunch" + } + } + } + }, + { + "type": "touchpad", + "axis": { + "input": "axisXY", + "output": "rightJoystick", + "sensitivity": 5, + "deadzone": { + "threshold": 0, + "radial": true + } + }, + "renderAsButton": true, + "action": [ + "rightBumper" + ], + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "reload" + } + } + } + }, + { + "type": "touchpad", + "axis": { + "input": "axisXY", + "output": "rightJoystick", + "sensitivity": 5, + "deadzone": { + "threshold": 0, + "radial": true + } + }, + "renderAsButton": true, + "action": [ + "rightTrigger" + ] + } + ], + { + "type": "button", + "action": "gamepadX", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + }, + [ + { + "type": "button", + "action": "gamepadY", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "look" + } + } + } + }, + null + ] + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "view" + } + ] + } + } + } + } +} \ No newline at end of file