From c62e7584242a9a869602480eea26cd928f44f5fe Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Mon, 29 Jan 2024 10:56:24 +0700 Subject: [PATCH] Palworld: update layout --- touch-layouts/1797327516.json | 64 +++++++++++++++++++++++++++-------- 1 file changed, 50 insertions(+), 14 deletions(-) diff --git a/touch-layouts/1797327516.json b/touch-layouts/1797327516.json index f18f8a0..e9b6de6 100644 --- a/touch-layouts/1797327516.json +++ b/touch-layouts/1797327516.json @@ -13,6 +13,8 @@ "radial": true } }, + "action": "leftThumb", + "actionThreshold": 2, "styles": { "default": { "knob": { @@ -21,6 +23,14 @@ "value": "walk" } } + }, + "activated": { + "knob": { + "faceImage": { + "type": "icon", + "value": "run" + } + } } } } @@ -61,14 +71,42 @@ "action": "rightThumb" }, { - "type": "button", - "action": "leftBumper", - "toggle": true + "type": "touchpad", + "axis": [ + { + "input": "axisX", + "output": "rightJoystickX", + "sensitivity": 20 + }, + { + "input": "axisY", + "output": "rightJoystickY", + "sensitivity": 10 + } + ], + "renderAsButton": true, + "action": [ + "leftBumper" + ] }, { - "type": "button", - "action": "rightBumper", - "toggle": true + "type": "touchpad", + "axis": [ + { + "input": "axisX", + "output": "rightJoystickX", + "sensitivity": 20 + }, + { + "input": "axisY", + "output": "rightJoystickY", + "sensitivity": 10 + } + ], + "renderAsButton": true, + "action": [ + "rightBumper" + ] }, { "type": "button", @@ -142,22 +180,20 @@ } }, { - "type": "button", - "action": "leftThumb", - "toggle": true + "type": "blank" }, { "type": "touchpad", "axis": [ { "input": "axisX", - "output": "relativeMouseX", - "sensitivity": 5 + "output": "rightJoystickX", + "sensitivity": 20 }, { "input": "axisY", - "output": "relativeMouseY", - "sensitivity": 2.5 + "output": "rightJoystickY", + "sensitivity": 10 } ], "renderAsButton": true, @@ -226,7 +262,7 @@ "axis": { "input": "axisXY", "output": "rightJoystick", - "sensitivity": 2 + "sensitivity": 1 } } ]