Files
better-xcloud/touch-layouts/layouts/south-of-midnight.json
Kode-Z 171768e617 New custom touch controls. (#727)
* Add files via upload

* Add files via upload

* Update 1278031123.json

* Update south-of-midnight.json

Added segmented pull buttons to enhance combat/traversal gameplay!

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update south-of-midnight.json

* Update south-of-midnight.json

* south-of-midnight: minor adjustments

- Change segmented button's opacity from 0.3 to 0.5
- Add "exclusive" type for d-pad

---------

Co-authored-by: redphx <96280+redphx@users.noreply.github.com>
2025-05-31 10:32:58 +07:00

251 lines
6.3 KiB
JSON

{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"author": "Kode-Z",
"content": {
"left": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
},
"action": "leftThumb",
"relative": false,
"actionThreshold": 2,
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "walk"
}
}
},
"activated": {
"knob": {
"faceImage": {
"type": "icon",
"value": "sprint"
}
}
}
}
}
],
"outer": [
null,
null,
[
{
"type": "directionalPad",
"interaction": {
"activationType": "exclusive"
}
}
],
null,
null,
null,
null
]
},
"right": {
"inner": [
{
"type": "joystick",
"expand": false,
"axis": {
"input": "axisXY",
"output": "rightJoystick"
}
}
],
"outer": [
{
"type": "button",
"action": "rightBumper"
},
{
"type": "button",
"action": "rightTrigger"
},
{
"type": "button",
"action": "gamepadB",
"pullAction": {
"type": "segmented",
"items": [
"gamepadX"
]
},
"styles": {
"default": {
"pullIndicator": [
{
"opacity": 0.5
},
{
"faceImage": {
"type": "icon",
"value": "lightPunch3"
}
}
]
},
"idle": {
"pullIndicator": [
{
"opacity": 0.0
}
]
}
}
},
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "lightPunch3"
}
}
}
},
[
{
"type": "button",
"action": "gamepadA",
"pullAction": {
"type": "segmented",
"items": [
"gamepadX",
"gamepadB"
]
},
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "jump"
},
"pullIndicator": [
{
"opacity": 0.5
},
{
"opacity": 0.5
},
{
"faceImage": {
"type": "icon",
"value": "lightPunch3"
}
},
{
"faceImage": {
"type": "icon",
"value": "gamepadB"
}
}
]
},
"idle": {
"pullIndicator": [
{
"opacity": 0.0
}
]
}
}
},
{
"type": "button",
"action": "rightThumb"
},
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
}
],
{
"type": "button",
"action": "leftTrigger",
"pullAction": {
"type": "segmented",
"items": [
"gamepadX",
"rightTrigger"
]
},
"styles": {
"default": {
"pullIndicator": [
{
"opacity": 0.5
},
{
"opacity": 0.5
},
{
"faceImage": {
"type": "icon",
"value": "lightPunch3"
}
},
{
"faceImage": {
"type": "icon",
"value": "rightTrigger"
}
}
]
},
"idle": {
"pullIndicator": [
{
"opacity": 0.0
},
{
"opacity": 0.0
}
]
}
}
},
{
"type": "button",
"action": "leftBumper"
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "view"
}
]
}
}
}
}
}