mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
brotato: add button to switch to dPad
This commit is contained in:
parent
66b8b5a286
commit
7fc6779cc9
@ -4,6 +4,25 @@
|
|||||||
"one-handed-left": {
|
"one-handed-left": {
|
||||||
"name": "One-handed (Left)",
|
"name": "One-handed (Left)",
|
||||||
"content": {
|
"content": {
|
||||||
|
"layers": {
|
||||||
|
"DpadMovement": {
|
||||||
|
"left": {
|
||||||
|
"inner": [
|
||||||
|
{
|
||||||
|
"type": "directionalPad",
|
||||||
|
"scale": 1.5,
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"gradient": {
|
||||||
|
"color": "#ffffff80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"left": {
|
"left": {
|
||||||
"inner": [
|
"inner": [
|
||||||
{
|
{
|
||||||
@ -55,6 +74,28 @@
|
|||||||
{
|
{
|
||||||
"type": "button",
|
"type": "button",
|
||||||
"action": "menu"
|
"action": "menu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"toggle": true,
|
||||||
|
"action": {
|
||||||
|
"type": "layer",
|
||||||
|
"target": "DpadMovement"
|
||||||
|
},
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "dPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toggled": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#ffffff10"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -63,6 +104,25 @@
|
|||||||
"one-handed-right": {
|
"one-handed-right": {
|
||||||
"name": "One-handed (Right)",
|
"name": "One-handed (Right)",
|
||||||
"content": {
|
"content": {
|
||||||
|
"layers": {
|
||||||
|
"DpadMovement": {
|
||||||
|
"right": {
|
||||||
|
"inner": [
|
||||||
|
{
|
||||||
|
"type": "directionalPad",
|
||||||
|
"scale": 1.5,
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"gradient": {
|
||||||
|
"color": "#ffffff80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"right": {
|
"right": {
|
||||||
"inner": [
|
"inner": [
|
||||||
{
|
{
|
||||||
@ -113,6 +173,28 @@
|
|||||||
{
|
{
|
||||||
"type": "button",
|
"type": "button",
|
||||||
"action": "menu"
|
"action": "menu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"toggle": true,
|
||||||
|
"action": {
|
||||||
|
"type": "layer",
|
||||||
|
"target": "DpadMovement"
|
||||||
|
},
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "dPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toggled": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#ffffff10"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user