mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Forza Horizon 4: add layout
This commit is contained in:
parent
d88f1f401d
commit
d74eccade2
240
touch-layouts/1985701699.json
Normal file
240
touch-layouts/1985701699.json
Normal file
@ -0,0 +1,240 @@
|
||||
{
|
||||
"schema_version": 2,
|
||||
"name": "Forza Horizon 4",
|
||||
"default_layout": "custom",
|
||||
"layouts": {
|
||||
"custom": {
|
||||
"name": "Custom",
|
||||
"content": {
|
||||
"layers": {
|
||||
"dPadDisplay": {
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "directionalPad",
|
||||
"scale": 1.75,
|
||||
"interaction": {
|
||||
"activationType": "exclusive"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "blank"
|
||||
},
|
||||
{
|
||||
"type": "blank"
|
||||
},
|
||||
{
|
||||
"type": "blank"
|
||||
},
|
||||
{
|
||||
"type": "blank"
|
||||
},
|
||||
{
|
||||
"type": "blank"
|
||||
},
|
||||
{
|
||||
"type": "blank"
|
||||
},
|
||||
{
|
||||
"type": "blank"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"deadzone": {
|
||||
"threshold": 0.1,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"default": {
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "steering"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftBumper"
|
||||
},
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightThumb"
|
||||
},
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick",
|
||||
"deadzone": {
|
||||
"threshold": 0.1,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"relative": false,
|
||||
"expand": false,
|
||||
"styles": {
|
||||
"default": {
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "switchCamera"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": {
|
||||
"type": "layer",
|
||||
"target": "dPadDisplay"
|
||||
},
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "dPad"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftThumb"
|
||||
},
|
||||
null
|
||||
]
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightTrigger",
|
||||
"pullAction": "gamepadA",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "gasPedal"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadB",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "add"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "handbrake2"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftTrigger",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "brakePedal"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadX",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "subtract"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadY",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "repeatRefresh"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null
|
||||
]
|
||||
]
|
||||
},
|
||||
"upper": {
|
||||
"right": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "view"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user