little-kitty-big-city: update layout

This commit is contained in:
redphx 2024-05-11 16:46:25 +07:00
parent e2250b3f5c
commit 1fdd53f3ac

View File

@ -9,10 +9,30 @@
"inner": [ "inner": [
{ {
"type": "joystick", "type": "joystick",
"expand": false,
"axis": { "axis": {
"input": "axisXY", "input": "axisXY",
"output": "leftJoystick" "output": "leftJoystick"
},
"action": "rightBumper",
"actionThreshold": 2.5,
"expand": false,
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "walk"
}
}
},
"activated": {
"knob": {
"faceImage": {
"type": "icon",
"value": "run"
}
}
}
} }
} }
], ],
@ -23,28 +43,8 @@
}, },
[ [
{ {
"type": "joystick", "type": "button",
"axis": [ "action": "rightBumper"
{
"input": "axisXY",
"output": "leftJoystick"
}
],
"action": "rightBumper",
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "sprint"
},
"stroke": {
"type": "solid",
"opacity": 0.1
}
}
}
}
}, },
null null
], ],
@ -87,7 +87,7 @@
"knob": { "knob": {
"faceImage": { "faceImage": {
"type": "icon", "type": "icon",
"value": "crouch" "value": "leftBumper"
}, },
"stroke": { "stroke": {
"type": "solid", "type": "solid",