mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00

* 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>
146 lines
3.5 KiB
JSON
146 lines
3.5 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"layouts": {
|
|
"custom": {
|
|
"name": "Custom",
|
|
"author": "Kode-Z",
|
|
"content": {
|
|
"left": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"expand": false,
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "leftJoystick"
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
null
|
|
]
|
|
},
|
|
"right": {
|
|
"inner": [
|
|
{
|
|
"type": "joystick",
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "rightJoystick"
|
|
}
|
|
}
|
|
],
|
|
"outer": [
|
|
null,
|
|
null,
|
|
[
|
|
{
|
|
"type": "joystick",
|
|
"axis": {
|
|
"input": "axisXY",
|
|
"output": "rightJoystick",
|
|
"deadzone": {
|
|
"threshold": 0.05,
|
|
"radial": true
|
|
}
|
|
},
|
|
"action": "leftTrigger",
|
|
"styles": {
|
|
"default": {
|
|
"outline": {
|
|
"indicator": {
|
|
"type": "color",
|
|
"value": "#ffffff"
|
|
},
|
|
"stroke": {
|
|
"type": "solid",
|
|
"color": "#ffffff"
|
|
},
|
|
"opacity": 0.1
|
|
},
|
|
"knob": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "leftTrigger"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadA",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "jump"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "rightTrigger",
|
|
"pullAction": {
|
|
"type": "segmented",
|
|
"items": [
|
|
"gamepadA"
|
|
]
|
|
},
|
|
"styles": {
|
|
"default": {
|
|
"pullIndicator": [
|
|
{
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "jump"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"idle": {
|
|
"pullIndicator": [
|
|
null,
|
|
{
|
|
"opacity": 0.5
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadB",
|
|
"styles": {
|
|
"default": {
|
|
"faceImage": {
|
|
"type": "icon",
|
|
"value": "weaponSelect"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"upper": {
|
|
"right": [
|
|
{
|
|
"type": "button",
|
|
"action": "menu"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadY"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"action": "gamepadX"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |