mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
[Pull request Custom layout] Add "Halo infinite" and "Shredders" custom touch layout. (#274)
* Add "Shredders" custom touch layout file. * Add "Halo infinite" custom touch layout file. * Change game name * Change to lower case name * Change to lower case name Rename Shredders.json to shredders.json
This commit is contained in:
parent
6022bad3b6
commit
fb6f7fcbf7
7
touch-layouts/1931911684.json
Normal file
7
touch-layouts/1931911684.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"name": "Shredders",
|
||||||
|
"default_layout": "custom",
|
||||||
|
"layouts": [
|
||||||
|
"shredders"
|
||||||
|
]
|
||||||
|
}
|
7
touch-layouts/2043073184.json
Normal file
7
touch-layouts/2043073184.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"name": "Halo Infinite",
|
||||||
|
"default_layout": "rightstick",
|
||||||
|
"layouts": [
|
||||||
|
"halo-infinite"
|
||||||
|
]
|
||||||
|
}
|
476
touch-layouts/layouts/halo-infinite.json
Normal file
476
touch-layouts/layouts/halo-infinite.json
Normal file
@ -0,0 +1,476 @@
|
|||||||
|
{
|
||||||
|
"schema_version": 1,
|
||||||
|
"layouts": {
|
||||||
|
"rightstick": {
|
||||||
|
"name": "Right Stick Mode (Default)",
|
||||||
|
"content": {
|
||||||
|
"layers": {
|
||||||
|
"AimTouchpad": {
|
||||||
|
"right": {
|
||||||
|
"inner": [{
|
||||||
|
"type": "touchpad",
|
||||||
|
"axis": [{
|
||||||
|
"input": "axisX",
|
||||||
|
"output": "rightJoystickX",
|
||||||
|
"sensitivity": 3
|
||||||
|
}, {
|
||||||
|
"input": "axisY",
|
||||||
|
"output": "rightJoystickY",
|
||||||
|
"sensitivity": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "aim"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sensors": [{
|
||||||
|
"type": "gyroscope",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "rightJoystick",
|
||||||
|
"sensitivity": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"left": {
|
||||||
|
"inner": [{
|
||||||
|
"type": "joystick",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "leftJoystick",
|
||||||
|
"deadzone": {
|
||||||
|
"threshold": 0.01,
|
||||||
|
"radial": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"expand": false,
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "walk"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outer": [
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
[{
|
||||||
|
"type": "directionalPad",
|
||||||
|
"interaction": {
|
||||||
|
"activationType": "exclusive"
|
||||||
|
},
|
||||||
|
"scale": 1.2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
null,
|
||||||
|
null, {
|
||||||
|
"type": "joystick",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "leftJoystick",
|
||||||
|
"deadzone": {
|
||||||
|
"threshold": 0.01,
|
||||||
|
"radial": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"action": [
|
||||||
|
"leftTrigger", {
|
||||||
|
"type": "layer",
|
||||||
|
"target": "AimTouchpad"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "leftTrigger"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"right": {
|
||||||
|
"inner": [{
|
||||||
|
"type": "joystick",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "rightJoystick",
|
||||||
|
"deadzone": {
|
||||||
|
"threshold": 0.01,
|
||||||
|
"radial": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "look"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outer": [{
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightBumper"
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": [
|
||||||
|
"leftTrigger", {
|
||||||
|
"type": "layer",
|
||||||
|
"target": "AimTouchpad"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "aim"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toggle": true
|
||||||
|
},
|
||||||
|
[{
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadB"
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightThumb"
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadA",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "jump"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[{
|
||||||
|
"type": "touchpad",
|
||||||
|
"axis": [{
|
||||||
|
"input": "axisX",
|
||||||
|
"output": "rightJoystickX",
|
||||||
|
"sensitivity": 3
|
||||||
|
}, {
|
||||||
|
"input": "axisY",
|
||||||
|
"output": "rightJoystickY",
|
||||||
|
"sensitivity": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"renderAsButton": true,
|
||||||
|
"action": "rightTrigger",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "fire"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftThumb",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "sprint"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftBumper"
|
||||||
|
}
|
||||||
|
], {
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadX",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "interact"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadY",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "weaponSelect"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"upper": {
|
||||||
|
"right": [{
|
||||||
|
"type": "button",
|
||||||
|
"action": "menu"
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "view"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"relativemouse": {
|
||||||
|
"name": "Relative Mouse Mode",
|
||||||
|
"content": {
|
||||||
|
"layers": {
|
||||||
|
"AimTouchpad": {
|
||||||
|
"sensors": [{
|
||||||
|
"type": "gyroscope",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "relativeMouse",
|
||||||
|
"sensitivity": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"left": {
|
||||||
|
"inner": [{
|
||||||
|
"type": "joystick",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "leftJoystick",
|
||||||
|
"deadzone": {
|
||||||
|
"threshold": 0.01,
|
||||||
|
"radial": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"expand": false,
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "walk"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outer": [
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
[{
|
||||||
|
"type": "directionalPad",
|
||||||
|
"interaction": {
|
||||||
|
"activationType": "exclusive"
|
||||||
|
},
|
||||||
|
"scale": 1.2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
null,
|
||||||
|
null, {
|
||||||
|
"type": "joystick",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "leftJoystick",
|
||||||
|
"deadzone": {
|
||||||
|
"threshold": 0.01,
|
||||||
|
"radial": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"action": [
|
||||||
|
"leftTrigger", {
|
||||||
|
"type": "layer",
|
||||||
|
"target": "AimTouchpad"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "leftTrigger"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"right": {
|
||||||
|
"inner": [{
|
||||||
|
"type": "touchpad",
|
||||||
|
"axis": [{
|
||||||
|
"input": "axisX",
|
||||||
|
"output": "relativeMouseX",
|
||||||
|
"sensitivity": 10
|
||||||
|
}, {
|
||||||
|
"input": "axisY",
|
||||||
|
"output": "relativeMouseY",
|
||||||
|
"sensitivity": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "aim"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outer": [{
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightBumper"
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": [
|
||||||
|
"leftTrigger", {
|
||||||
|
"type": "layer",
|
||||||
|
"target": "AimTouchpad"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "aim"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toggle": true
|
||||||
|
},
|
||||||
|
[{
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadB"
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightThumb"
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadA",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "jump"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[{
|
||||||
|
"type": "touchpad",
|
||||||
|
"axis": [{
|
||||||
|
"input": "axisX",
|
||||||
|
"output": "relativeMouseX",
|
||||||
|
"sensitivity": 10
|
||||||
|
}, {
|
||||||
|
"input": "axisY",
|
||||||
|
"output": "relativeMouseY",
|
||||||
|
"sensitivity": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"renderAsButton": true,
|
||||||
|
"action": [
|
||||||
|
"rightTrigger", {
|
||||||
|
"type": "layer",
|
||||||
|
"target": "AimTouchpad"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "fire"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftThumb",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "sprint"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftBumper"
|
||||||
|
}
|
||||||
|
], {
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadX",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "interact"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadY",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "weaponSelect"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"upper": {
|
||||||
|
"right": [{
|
||||||
|
"type": "button",
|
||||||
|
"action": "menu"
|
||||||
|
}, {
|
||||||
|
"type": "button",
|
||||||
|
"action": "view"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
361
touch-layouts/layouts/shredders.json
Normal file
361
touch-layouts/layouts/shredders.json
Normal file
@ -0,0 +1,361 @@
|
|||||||
|
{
|
||||||
|
"schema_version": 1,
|
||||||
|
"layouts": {
|
||||||
|
"custom": {
|
||||||
|
"name": "Custom Layout",
|
||||||
|
"content": {
|
||||||
|
"left": {
|
||||||
|
"inner": [
|
||||||
|
{
|
||||||
|
"type": "joystick",
|
||||||
|
"expand": true,
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "leftJoystick",
|
||||||
|
"deadzone": {
|
||||||
|
"threshold": 0.05,
|
||||||
|
"radial": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "move"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"type": "solid",
|
||||||
|
"color": "#faff2e"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"outline": {
|
||||||
|
"stroke": {
|
||||||
|
"type": "solid",
|
||||||
|
"color": "#faff2e"
|
||||||
|
},
|
||||||
|
"indicator": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outer": [
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightBumper",
|
||||||
|
"toggle": true,
|
||||||
|
"styles": {
|
||||||
|
"activated": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toggled": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
null,
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftTrigger",
|
||||||
|
"styles": {
|
||||||
|
"activated": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "directionalPad",
|
||||||
|
"interaction": {
|
||||||
|
"activationType": "exclusive"
|
||||||
|
},
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"fill": "#faff2e10",
|
||||||
|
"gradient": {
|
||||||
|
"color": "#faff2eff"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"type": "solid",
|
||||||
|
"color": "#faff2eff"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightTrigger",
|
||||||
|
"styles": {
|
||||||
|
"activated": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftBumper",
|
||||||
|
"toggle": true,
|
||||||
|
"styles": {
|
||||||
|
"activated": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toggled": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"right": {
|
||||||
|
"inner": [
|
||||||
|
{
|
||||||
|
"type": "joystick",
|
||||||
|
"expand": true,
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "rightJoystick",
|
||||||
|
"deadzone": {
|
||||||
|
"threshold": 0.05,
|
||||||
|
"radial": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "surf"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"type": "solid",
|
||||||
|
"color": "#faff2e"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"outline": {
|
||||||
|
"stroke": {
|
||||||
|
"type": "solid",
|
||||||
|
"color": "#faff2e"
|
||||||
|
},
|
||||||
|
"indicator": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outer": [
|
||||||
|
{
|
||||||
|
"type": "joystick",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "rightJoystick",
|
||||||
|
"deadzone": {
|
||||||
|
"threshold": 0.5,
|
||||||
|
"radial": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"action": "rightBumper",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "rightBumper"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"type": "solid",
|
||||||
|
"color": "#faff2e",
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"outline": {
|
||||||
|
"indicator": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e",
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadB",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "reset"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadA"
|
||||||
|
},
|
||||||
|
null,
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightTrigger",
|
||||||
|
"styles": {
|
||||||
|
"activated": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightThumb",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "switchCamera"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftTrigger",
|
||||||
|
"styles": {
|
||||||
|
"activated": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadX",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "undo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joystick",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "rightJoystick",
|
||||||
|
"deadzone": {
|
||||||
|
"threshold": 0.5,
|
||||||
|
"radial": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"action": "leftBumper",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "leftBumper"
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"type": "solid",
|
||||||
|
"color": "#faff2e",
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"outline": {
|
||||||
|
"indicator": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e",
|
||||||
|
"opacity": 0.1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"upper": {
|
||||||
|
"right": [
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "menu",
|
||||||
|
"styles": {
|
||||||
|
"activated": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "view",
|
||||||
|
"styles": {
|
||||||
|
"activated": {
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#faff2e80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"lower": {
|
||||||
|
"center": {
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadY",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "lookBehind2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user