mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
obra-dinn: add layout
This commit is contained in:
parent
a1adf44ae4
commit
5692da7ea4
7
touch-layouts/1884102336.json
Normal file
7
touch-layouts/1884102336.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Return of the Obra Dinn",
|
||||
"default_layout": "custom",
|
||||
"layouts": [
|
||||
"obra-dinn"
|
||||
]
|
||||
}
|
178
touch-layouts/layouts/obra-dinn.json
Normal file
178
touch-layouts/layouts/obra-dinn.json
Normal file
@ -0,0 +1,178 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"layouts": {
|
||||
"custom": {
|
||||
"name": "Custom",
|
||||
"content": {
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"expand": false,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
},
|
||||
"styles": {
|
||||
"default": {
|
||||
"knob": {
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#00000030"
|
||||
},
|
||||
"stroke": {
|
||||
"type": "solid",
|
||||
"color": "#ffffff",
|
||||
"opacity": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#00000030"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftBumper",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#00000030"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#00000030"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "interact"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadY",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#00000030"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "book"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadB",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#00000030"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null
|
||||
],
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick"
|
||||
},
|
||||
"styles": {
|
||||
"default": {
|
||||
"knob": {
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#00000030"
|
||||
},
|
||||
"stroke": {
|
||||
"type": "solid",
|
||||
"color": "#ffffff",
|
||||
"opacity": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
null,
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadX",
|
||||
"styles": {
|
||||
"idle": {
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#00000030"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "rewind"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"upper": {
|
||||
"right": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user