Palworld: replace "touchpad" with "joystick"

This commit is contained in:
redphx 2024-02-09 07:27:01 +07:00
parent e689b334bd
commit 74df212203

View File

@ -34,6 +34,7 @@
}, },
"action": "leftThumb", "action": "leftThumb",
"actionThreshold": 2, "actionThreshold": 2,
"expand": false,
"styles": { "styles": {
"default": { "default": {
"knob": { "knob": {
@ -80,6 +81,9 @@
"faceImage": { "faceImage": {
"type": "icon", "type": "icon",
"value": "rightTrigger" "value": "rightTrigger"
},
"stroke": {
"opacity": 0
} }
} }
} }
@ -99,20 +103,11 @@
"action": "rightThumb" "action": "rightThumb"
}, },
{ {
"type": "touchpad", "type": "joystick",
"axis": [ "axis": {
{ "input": "axisXY",
"input": "axisX", "output": "leftJoystick"
"output": "leftJoystickX", },
"sensitivity": 20
},
{
"input": "axisY",
"output": "leftJoystickY",
"sensitivity": 10
}
],
"renderAsButton": true,
"action": [ "action": [
"leftBumper", "leftBumper",
{ {
@ -122,28 +117,24 @@
], ],
"styles": { "styles": {
"default": { "default": {
"faceImage": { "knob": {
"type": "icon", "faceImage": {
"value": "leftBumper" "type": "icon",
"value": "leftBumper"
},
"stroke": {
"opacity": 0
}
} }
} }
} }
}, },
{ {
"type": "touchpad", "type": "joystick",
"axis": [ "axis": {
{ "input": "axisXY",
"input": "axisX", "output": "leftJoystick"
"output": "leftJoystickX", },
"sensitivity": 20
},
{
"input": "axisY",
"output": "leftJoystickY",
"sensitivity": 10
}
],
"renderAsButton": true,
"action": [ "action": [
"rightBumper", "rightBumper",
{ {
@ -153,28 +144,24 @@
], ],
"styles": { "styles": {
"default": { "default": {
"faceImage": { "knob": {
"type": "icon", "faceImage": {
"value": "rightBumper" "type": "icon",
"value": "rightBumper"
},
"stroke": {
"opacity": 0
}
} }
} }
} }
}, },
{ {
"type": "touchpad", "type": "joystick",
"axis": [ "axis": {
{ "input": "axisXY",
"input": "axisX", "output": "leftJoystick"
"output": "leftJoystickX", },
"sensitivity": 20
},
{
"input": "axisY",
"output": "leftJoystickY",
"sensitivity": 10
}
],
"renderAsButton": true,
"action": [ "action": [
"leftTrigger", "leftTrigger",
{ {
@ -184,9 +171,14 @@
], ],
"styles": { "styles": {
"default": { "default": {
"faceImage": { "knob": {
"type": "icon", "faceImage": {
"value": "leftTrigger" "type": "icon",
"value": "leftTrigger"
},
"stroke": {
"opacity": 0
}
} }
} }
} }