mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
175 lines
4.2 KiB
JSON
175 lines
4.2 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"layouts": {
|
|
"custom": {
|
|
"name": "Custom",
|
|
"author": "redphx",
|
|
"content": {
|
|
"left": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"expand": false,
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick",
|
|
"deadzone": {
|
|
"threshold": 0.05,
|
|
"radial": true
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
{
|
|
"type": "joystick",
|
|
"axis": [
|
|
{
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
}
|
|
],
|
|
"action": "rightBumper",
|
|
"styles": {
|
|
"default": {
|
|
"knob": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "rightBumper"
|
|
},
|
|
"stroke": {
|
|
"opacity": 0.1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"type": "joystick",
|
|
"expand": false,
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick",
|
|
"deadzone": {
|
|
"threshold": 0.05,
|
|
"radial": true
|
|
}
|
|
},
|
|
"action": "rightTrigger",
|
|
"styles": {
|
|
"default": {
|
|
"knob": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "rightTrigger"
|
|
},
|
|
"stroke": {
|
|
"opacity": 0.1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
null
|
|
],
|
|
{
|
|
"type": "directionalPad",
|
|
"interaction": {
|
|
"activationType": "exclusive"
|
|
},
|
|
"scale": 1.2
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "leftThumb"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "rightThumb"
|
|
},
|
|
null,
|
|
{
|
|
"type": "joystick",
|
|
"axis": [
|
|
{
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
}
|
|
],
|
|
"action": "leftBumper",
|
|
"styles": {
|
|
"default": {
|
|
"knob": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "leftBumper"
|
|
},
|
|
"stroke": {
|
|
"opacity": 0.1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"right": {
|
|
"inner": [
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadY"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadB"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadA"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadX"
|
|
}
|
|
],
|
|
"outer": [
|
|
null,
|
|
{
|
|
"type": "button",
|
|
"action": "leftTrigger"
|
|
},
|
|
null,
|
|
null,
|
|
[
|
|
{
|
|
"type": "joystick",
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "rightJoystick",
|
|
"deadzone": {
|
|
"threshold": 0.05,
|
|
"radial": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"upper": {
|
|
"right": [
|
|
{
|
|
"type": "button",
|
|
"action": "menu"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "view"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|