From b6a97263b4558e40142fb173e464ec2cd4d8a552 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sat, 10 Feb 2024 15:50:43 +0700 Subject: [PATCH] RE2: fix gyro not working --- touch-layouts/layouts/resident-evil-2.json | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/touch-layouts/layouts/resident-evil-2.json b/touch-layouts/layouts/resident-evil-2.json index 8947012..44027a1 100644 --- a/touch-layouts/layouts/resident-evil-2.json +++ b/touch-layouts/layouts/resident-evil-2.json @@ -25,7 +25,7 @@ "axis": { "input": "axisXY", "output": "rightJoystick", - "sensitivity": 2 + "sensitivity": 3 }, "styles": { "default": { @@ -37,7 +37,17 @@ } } ] - } + }, + "sensors": [ + { + "type": "gyroscope", + "axis": { + "input": "axisXY", + "output": "rightJoystick", + "sensitivity": 1 + } + } + ] } }, "left": { @@ -92,10 +102,6 @@ }, "action": [ "leftTrigger", - { - "type": "layer", - "target": "EnableGyro" - }, { "type": "layer", "target": "AimTouchpad" @@ -198,12 +204,12 @@ { "input": "axisX", "output": "rightJoystickX", - "sensitivity": 1 + "sensitivity": 3 }, { "input": "axisY", "output": "rightJoystickY", - "sensitivity": 1 + "sensitivity": 3 } ], "renderAsButton": true,