mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
201 lines
4.8 KiB
JSON
201 lines
4.8 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"layouts": {
|
|
"custom": {
|
|
"name": "Custom",
|
|
"author": "redphx",
|
|
"content": {
|
|
"left": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
},
|
|
"action": "rightBumper",
|
|
"actionThreshold": 2.5,
|
|
"expand": false,
|
|
"styles": {
|
|
"default": {
|
|
"knob": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "walk"
|
|
}
|
|
}
|
|
},
|
|
"activated": {
|
|
"knob": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "run"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
{
|
|
"type": "button",
|
|
"action": "rightTrigger"
|
|
},
|
|
[
|
|
{
|
|
"type": "button",
|
|
"action": "rightBumper"
|
|
},
|
|
null
|
|
],
|
|
{
|
|
"type": "button",
|
|
"action": "dPadRight",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "inventory"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "dPadLeft",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "notebook"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"type": "joystick",
|
|
"axis": [
|
|
{
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
}
|
|
],
|
|
"action": "leftBumper",
|
|
"styles": {
|
|
"default": {
|
|
"knob": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "leftBumper"
|
|
},
|
|
"stroke": {
|
|
"type": "solid",
|
|
"opacity": 0.1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
null
|
|
],
|
|
{
|
|
"type": "button",
|
|
"action": "leftTrigger"
|
|
}
|
|
]
|
|
},
|
|
"right": {
|
|
"inner": [
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadA",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "jump"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
null,
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadB"
|
|
},
|
|
null,
|
|
{
|
|
"type": "button",
|
|
"action": "dPadUp",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "map"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"type": "joystick",
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "rightJoystick"
|
|
}
|
|
}
|
|
],
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadX",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "interact"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadY",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "emotes"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"upper": {
|
|
"right": [
|
|
{
|
|
"type": "button",
|
|
"action": "menu"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "dPadDown",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "capture"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|