mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-28 02:11:44 +02:00
194 lines
4.8 KiB
JSON
194 lines
4.8 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"layouts": {
|
|
"custom": {
|
|
"name": "Custom",
|
|
"content": {
|
|
"left": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
},
|
|
"relative": false,
|
|
"styles": {
|
|
"default": {
|
|
"outline": {
|
|
"stroke": {
|
|
"type": "solid",
|
|
"color": "#ff0000aa"
|
|
}
|
|
},
|
|
"knob": {
|
|
"background": {
|
|
"type": "color",
|
|
"value": "#ff000033"
|
|
},
|
|
"stroke": {
|
|
"type": "solid",
|
|
"color": "#ff0000aa"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
{
|
|
"type": "button",
|
|
"action": "rightBumper",
|
|
"styles": {
|
|
"default": {
|
|
"background": {
|
|
"type": "color",
|
|
"value": "#ff000033"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "rightTrigger",
|
|
"styles": {
|
|
"default": {
|
|
"background": {
|
|
"type": "color",
|
|
"value": "#ff000033"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"type": "directionalPad",
|
|
"interaction": {
|
|
"activationType": "exclusive"
|
|
},
|
|
"styles": {
|
|
"default": {
|
|
"fill": "#ff000033",
|
|
"stroke": {
|
|
"type": "solid",
|
|
"color": "#ff0000aa"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
{
|
|
"type": "button",
|
|
"action": "rightThumb",
|
|
"styles": {
|
|
"default": {
|
|
"background": {
|
|
"type": "color",
|
|
"value": "#ff000033"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
null,
|
|
{
|
|
"type": "button",
|
|
"action": "leftTrigger",
|
|
"styles": {
|
|
"default": {
|
|
"background": {
|
|
"type": "color",
|
|
"value": "#ff000033"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "leftBumper",
|
|
"styles": {
|
|
"default": {
|
|
"background": {
|
|
"type": "color",
|
|
"value": "#ff000033"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"right": {
|
|
"inner": [
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadY"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadB"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadA"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadX"
|
|
}
|
|
],
|
|
"outer": [
|
|
null,
|
|
null,
|
|
null,
|
|
null,
|
|
[
|
|
{
|
|
"type": "joystick",
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "rightJoystick",
|
|
"deadzone": {
|
|
"threshold": 0.05,
|
|
"radial": true
|
|
}
|
|
},
|
|
"styles": {
|
|
"default": {
|
|
"outline": {
|
|
"stroke": {
|
|
"type": "solid",
|
|
"color": "#ff0000aa"
|
|
}
|
|
},
|
|
"knob": {
|
|
"background": {
|
|
"type": "color",
|
|
"value": "#ff000033"
|
|
},
|
|
"stroke": {
|
|
"type": "solid",
|
|
"color": "#ff0000aa"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"upper": {
|
|
"right": [
|
|
{
|
|
"type": "button",
|
|
"action": "menu"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "view"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|