mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-11-01 22:44:04 +01:00
Custom touch controls for Metal Gear Solid games. (#787)
* Update south-of-midnight.json Adjustment to size of right joystick. * Update quake.json Opacity adjustments. * Update resident-evil-4-remake.json Opacity adjustments. * Update resident-evil-7.json Opacity adjustments. * Update resident-evil-village.json Opacity adjustments. * Add files via upload * Add files via upload * Update gta-de.json Opacity adjustments. * Update gta-4.json * Update gta-de.json * Update gta-v.json
This commit is contained in:
7
touch-layouts/2017826215.json
Normal file
7
touch-layouts/2017826215.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Metal Gear Solid 2",
|
||||
"default_layout": "custom",
|
||||
"layouts": [
|
||||
"metal-gear-solid-2"
|
||||
]
|
||||
}
|
||||
7
touch-layouts/2025840804.json
Normal file
7
touch-layouts/2025840804.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Metal Gear Solid 3",
|
||||
"default_layout": "custom",
|
||||
"layouts": [
|
||||
"metal-gear-solid-3"
|
||||
]
|
||||
}
|
||||
7
touch-layouts/2049727100.json
Normal file
7
touch-layouts/2049727100.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Metal Gear Solid 1",
|
||||
"default_layout": "custom",
|
||||
"layouts": [
|
||||
"metal-gear-solid-1"
|
||||
]
|
||||
}
|
||||
7
touch-layouts/656062883.json
Normal file
7
touch-layouts/656062883.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Metal Gear Solid: HD Collection",
|
||||
"default_layout": "mgs2",
|
||||
"layouts": [
|
||||
"metal-gear-solid-hd"
|
||||
]
|
||||
}
|
||||
@@ -9,7 +9,6 @@
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"expand": false,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
@@ -227,4 +226,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"expand": false,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
@@ -39,21 +38,18 @@
|
||||
"action": "leftTrigger",
|
||||
"styles": {
|
||||
"default": {
|
||||
"outline": {
|
||||
"indicator": {
|
||||
"type": "color",
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"stroke": {
|
||||
"type": "solid",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
"opacity": 0.5
|
||||
},
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftTrigger"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -72,21 +68,18 @@
|
||||
"action": "leftBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"outline": {
|
||||
"indicator": {
|
||||
"type": "color",
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"stroke": {
|
||||
"type": "solid",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
"opacity": 0.5
|
||||
},
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftBumper"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -228,4 +221,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"expand": false,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
@@ -227,4 +226,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
190
touch-layouts/layouts/metal-gear-solid-1.json
Normal file
190
touch-layouts/layouts/metal-gear-solid-1.json
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"layouts": {
|
||||
"custom": {
|
||||
"name": "Custom",
|
||||
"author": "Kode-Z",
|
||||
"content": {
|
||||
"layers": {
|
||||
"rJoystick": {
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftBumper"
|
||||
},
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": [
|
||||
"leftTrigger",
|
||||
{
|
||||
"type": "layer",
|
||||
"target": "rJoystick"
|
||||
}
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftTrigger"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightTrigger"
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper"
|
||||
},
|
||||
null,
|
||||
[
|
||||
null,
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadB"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "lightPunch3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "crouch"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadX"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "fire"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadY",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "look"
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggle": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"lower": {
|
||||
"leftCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "view",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "radio"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"rightCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
220
touch-layouts/layouts/metal-gear-solid-2.json
Normal file
220
touch-layouts/layouts/metal-gear-solid-2.json
Normal file
@@ -0,0 +1,220 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"layouts": {
|
||||
"custom": {
|
||||
"name": "Custom",
|
||||
"author": "Kode-Z",
|
||||
"content": {
|
||||
"layers": {
|
||||
"rJoystick": {
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper",
|
||||
"toggle": true
|
||||
},
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"action": "leftBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftBumper"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": [
|
||||
"leftTrigger",
|
||||
{
|
||||
"type": "layer",
|
||||
"target": "rJoystick"
|
||||
}
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftTrigger"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightTrigger"
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "crouch"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null,
|
||||
[
|
||||
null,
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadB"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "lightPunch3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadY",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "interact"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadX"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "fire"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftThumb"
|
||||
}
|
||||
]
|
||||
},
|
||||
"lower": {
|
||||
"leftCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "view",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "radio"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"rightCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
243
touch-layouts/layouts/metal-gear-solid-3.json
Normal file
243
touch-layouts/layouts/metal-gear-solid-3.json
Normal file
@@ -0,0 +1,243 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"layouts": {
|
||||
"custom": {
|
||||
"name": "Custom",
|
||||
"author": "Kode-Z",
|
||||
"content": {
|
||||
"layers": {
|
||||
"rJoystick": {
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper",
|
||||
"toggle": true
|
||||
},
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "directionalPad",
|
||||
"interaction": {
|
||||
"activationType": "exclusive"
|
||||
},
|
||||
"scale": 1.3
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"action": "leftBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftBumper"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": [
|
||||
"leftTrigger",
|
||||
{
|
||||
"type": "layer",
|
||||
"target": "rJoystick"
|
||||
}
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftTrigger"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightTrigger"
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "crouch"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null,
|
||||
[
|
||||
null,
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadB"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "lightPunch3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadY",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "interact"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadX"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "fire"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftThumb"
|
||||
}
|
||||
]
|
||||
},
|
||||
"upper": {
|
||||
"right": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightThumb",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "switchCamera"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"lower": {
|
||||
"leftCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "view",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "radio"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"rightCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
458
touch-layouts/layouts/metal-gear-solid-hd.json
Normal file
458
touch-layouts/layouts/metal-gear-solid-hd.json
Normal file
@@ -0,0 +1,458 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"layouts": {
|
||||
"mgs2": {
|
||||
"name": "MGS 2",
|
||||
"author": "Kode-Z",
|
||||
"content": {
|
||||
"layers": {
|
||||
"rJoystick": {
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper",
|
||||
"toggle": true
|
||||
},
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"action": "leftBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftBumper"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": [
|
||||
"leftTrigger",
|
||||
{
|
||||
"type": "layer",
|
||||
"target": "rJoystick"
|
||||
}
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftTrigger"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightTrigger"
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "crouch"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null,
|
||||
[
|
||||
null,
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadB"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "lightPunch3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadY",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "interact"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadX"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "fire"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftThumb"
|
||||
}
|
||||
]
|
||||
},
|
||||
"lower": {
|
||||
"leftCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "view",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "radio"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"rightCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"mgs3": {
|
||||
"name": "MGS 3",
|
||||
"author": "Kode-Z",
|
||||
"content": {
|
||||
"layers": {
|
||||
"rJoystick": {
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper",
|
||||
"toggle": true
|
||||
},
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "directionalPad",
|
||||
"interaction": {
|
||||
"activationType": "exclusive"
|
||||
},
|
||||
"scale": 1.3
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"action": "leftBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftBumper"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": [
|
||||
"leftTrigger",
|
||||
{
|
||||
"type": "layer",
|
||||
"target": "rJoystick"
|
||||
}
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftTrigger"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightTrigger"
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "crouch"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null,
|
||||
[
|
||||
null,
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadB"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "lightPunch3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadY",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "interact"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"sensitivity": 5,
|
||||
"deadzone": {
|
||||
"threshold": 0,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"renderAsButton": true,
|
||||
"action": [
|
||||
"gamepadX"
|
||||
],
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "fire"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftThumb"
|
||||
}
|
||||
]
|
||||
},
|
||||
"upper": {
|
||||
"right": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightThumb",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "switchCamera"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"lower": {
|
||||
"leftCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "view",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "radio"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"rightCenter": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -64,21 +64,18 @@
|
||||
"action": "rightBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"outline": {
|
||||
"indicator": {
|
||||
"type": "color",
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"stroke": {
|
||||
"type": "solid",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
"opacity": 0.5
|
||||
},
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "weaponSelect"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -195,4 +192,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,21 +62,18 @@
|
||||
"action": "leftBumper",
|
||||
"styles": {
|
||||
"default": {
|
||||
"outline": {
|
||||
"indicator": {
|
||||
"type": "color",
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"stroke": {
|
||||
"type": "solid",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
"opacity": 0.5
|
||||
},
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "leftBumper"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -97,21 +94,18 @@
|
||||
"action": "leftTrigger",
|
||||
"styles": {
|
||||
"default": {
|
||||
"outline": {
|
||||
"indicator": {
|
||||
"type": "color",
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"stroke": {
|
||||
"type": "solid",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
"opacity": 0.5
|
||||
},
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "aim"
|
||||
"value": "leftTrigger"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,21 +61,18 @@
|
||||
"action": "leftTrigger",
|
||||
"styles": {
|
||||
"default": {
|
||||
"outline": {
|
||||
"indicator": {
|
||||
"type": "color",
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"stroke": {
|
||||
"type": "solid",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
"opacity": 0.5
|
||||
},
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "aim"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -231,4 +228,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,21 +61,18 @@
|
||||
"action": "leftTrigger",
|
||||
"styles": {
|
||||
"default": {
|
||||
"outline": {
|
||||
"indicator": {
|
||||
"type": "color",
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"stroke": {
|
||||
"type": "solid",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
"opacity": 0.5
|
||||
},
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "aim"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#ffffff",
|
||||
"opacity": 0.1
|
||||
},
|
||||
"stroke": {
|
||||
"opacity": 0.1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -231,4 +228,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"expand": false,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick"
|
||||
|
||||
Reference in New Issue
Block a user