From 74df21220301b1892e29f4172258c41076709f5b Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Fri, 9 Feb 2024 07:27:01 +0700 Subject: [PATCH] Palworld: replace "touchpad" with "joystick" --- touch-layouts/1797327516.json | 94 ++++++++++++++++------------------- 1 file changed, 43 insertions(+), 51 deletions(-) diff --git a/touch-layouts/1797327516.json b/touch-layouts/1797327516.json index 80d430f..42dc753 100644 --- a/touch-layouts/1797327516.json +++ b/touch-layouts/1797327516.json @@ -34,6 +34,7 @@ }, "action": "leftThumb", "actionThreshold": 2, + "expand": false, "styles": { "default": { "knob": { @@ -80,6 +81,9 @@ "faceImage": { "type": "icon", "value": "rightTrigger" + }, + "stroke": { + "opacity": 0 } } } @@ -99,20 +103,11 @@ "action": "rightThumb" }, { - "type": "touchpad", - "axis": [ - { - "input": "axisX", - "output": "leftJoystickX", - "sensitivity": 20 - }, - { - "input": "axisY", - "output": "leftJoystickY", - "sensitivity": 10 - } - ], - "renderAsButton": true, + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, "action": [ "leftBumper", { @@ -122,28 +117,24 @@ ], "styles": { "default": { - "faceImage": { - "type": "icon", - "value": "leftBumper" + "knob": { + "faceImage": { + "type": "icon", + "value": "leftBumper" + }, + "stroke": { + "opacity": 0 + } } } } }, { - "type": "touchpad", - "axis": [ - { - "input": "axisX", - "output": "leftJoystickX", - "sensitivity": 20 - }, - { - "input": "axisY", - "output": "leftJoystickY", - "sensitivity": 10 - } - ], - "renderAsButton": true, + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, "action": [ "rightBumper", { @@ -153,28 +144,24 @@ ], "styles": { "default": { - "faceImage": { - "type": "icon", - "value": "rightBumper" + "knob": { + "faceImage": { + "type": "icon", + "value": "rightBumper" + }, + "stroke": { + "opacity": 0 + } } } } }, { - "type": "touchpad", - "axis": [ - { - "input": "axisX", - "output": "leftJoystickX", - "sensitivity": 20 - }, - { - "input": "axisY", - "output": "leftJoystickY", - "sensitivity": 10 - } - ], - "renderAsButton": true, + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, "action": [ "leftTrigger", { @@ -184,9 +171,14 @@ ], "styles": { "default": { - "faceImage": { - "type": "icon", - "value": "leftTrigger" + "knob": { + "faceImage": { + "type": "icon", + "value": "leftTrigger" + }, + "stroke": { + "opacity": 0 + } } } }