mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-11-06 00:44:01 +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": [
|
"inner": [
|
||||||
{
|
{
|
||||||
"type": "joystick",
|
"type": "joystick",
|
||||||
"expand": false,
|
|
||||||
"axis": {
|
"axis": {
|
||||||
"input": "axisXY",
|
"input": "axisXY",
|
||||||
"output": "leftJoystick"
|
"output": "leftJoystick"
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
"inner": [
|
"inner": [
|
||||||
{
|
{
|
||||||
"type": "joystick",
|
"type": "joystick",
|
||||||
"expand": false,
|
|
||||||
"axis": {
|
"axis": {
|
||||||
"input": "axisXY",
|
"input": "axisXY",
|
||||||
"output": "leftJoystick"
|
"output": "leftJoystick"
|
||||||
@@ -39,21 +38,18 @@
|
|||||||
"action": "leftTrigger",
|
"action": "leftTrigger",
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"outline": {
|
|
||||||
"indicator": {
|
|
||||||
"type": "color",
|
|
||||||
"value": "#ffffff"
|
|
||||||
},
|
|
||||||
"stroke": {
|
|
||||||
"type": "solid",
|
|
||||||
"color": "#ffffff"
|
|
||||||
},
|
|
||||||
"opacity": 0.5
|
|
||||||
},
|
|
||||||
"knob": {
|
"knob": {
|
||||||
"faceImage": {
|
"faceImage": {
|
||||||
"type": "icon",
|
"type": "icon",
|
||||||
"value": "leftTrigger"
|
"value": "leftTrigger"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#ffffff",
|
||||||
|
"opacity": 0.1
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -72,21 +68,18 @@
|
|||||||
"action": "leftBumper",
|
"action": "leftBumper",
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"outline": {
|
|
||||||
"indicator": {
|
|
||||||
"type": "color",
|
|
||||||
"value": "#ffffff"
|
|
||||||
},
|
|
||||||
"stroke": {
|
|
||||||
"type": "solid",
|
|
||||||
"color": "#ffffff"
|
|
||||||
},
|
|
||||||
"opacity": 0.5
|
|
||||||
},
|
|
||||||
"knob": {
|
"knob": {
|
||||||
"faceImage": {
|
"faceImage": {
|
||||||
"type": "icon",
|
"type": "icon",
|
||||||
"value": "leftBumper"
|
"value": "leftBumper"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#ffffff",
|
||||||
|
"opacity": 0.1
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
"inner": [
|
"inner": [
|
||||||
{
|
{
|
||||||
"type": "joystick",
|
"type": "joystick",
|
||||||
"expand": false,
|
|
||||||
"axis": {
|
"axis": {
|
||||||
"input": "axisXY",
|
"input": "axisXY",
|
||||||
"output": "leftJoystick"
|
"output": "leftJoystick"
|
||||||
|
|||||||
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",
|
"action": "rightBumper",
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"outline": {
|
|
||||||
"indicator": {
|
|
||||||
"type": "color",
|
|
||||||
"value": "#ffffff"
|
|
||||||
},
|
|
||||||
"stroke": {
|
|
||||||
"type": "solid",
|
|
||||||
"color": "#ffffff"
|
|
||||||
},
|
|
||||||
"opacity": 0.5
|
|
||||||
},
|
|
||||||
"knob": {
|
"knob": {
|
||||||
"faceImage": {
|
"faceImage": {
|
||||||
"type": "icon",
|
"type": "icon",
|
||||||
"value": "weaponSelect"
|
"value": "weaponSelect"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#ffffff",
|
||||||
|
"opacity": 0.1
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,21 +62,18 @@
|
|||||||
"action": "leftBumper",
|
"action": "leftBumper",
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"outline": {
|
|
||||||
"indicator": {
|
|
||||||
"type": "color",
|
|
||||||
"value": "#ffffff"
|
|
||||||
},
|
|
||||||
"stroke": {
|
|
||||||
"type": "solid",
|
|
||||||
"color": "#ffffff"
|
|
||||||
},
|
|
||||||
"opacity": 0.5
|
|
||||||
},
|
|
||||||
"knob": {
|
"knob": {
|
||||||
"faceImage": {
|
"faceImage": {
|
||||||
"type": "icon",
|
"type": "icon",
|
||||||
"value": "leftBumper"
|
"value": "leftBumper"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#ffffff",
|
||||||
|
"opacity": 0.1
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -97,21 +94,18 @@
|
|||||||
"action": "leftTrigger",
|
"action": "leftTrigger",
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"outline": {
|
|
||||||
"indicator": {
|
|
||||||
"type": "color",
|
|
||||||
"value": "#ffffff"
|
|
||||||
},
|
|
||||||
"stroke": {
|
|
||||||
"type": "solid",
|
|
||||||
"color": "#ffffff"
|
|
||||||
},
|
|
||||||
"opacity": 0.5
|
|
||||||
},
|
|
||||||
"knob": {
|
"knob": {
|
||||||
"faceImage": {
|
"faceImage": {
|
||||||
"type": "icon",
|
"type": "icon",
|
||||||
"value": "aim"
|
"value": "leftTrigger"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#ffffff",
|
||||||
|
"opacity": 0.1
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,21 +61,18 @@
|
|||||||
"action": "leftTrigger",
|
"action": "leftTrigger",
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"outline": {
|
|
||||||
"indicator": {
|
|
||||||
"type": "color",
|
|
||||||
"value": "#ffffff"
|
|
||||||
},
|
|
||||||
"stroke": {
|
|
||||||
"type": "solid",
|
|
||||||
"color": "#ffffff"
|
|
||||||
},
|
|
||||||
"opacity": 0.5
|
|
||||||
},
|
|
||||||
"knob": {
|
"knob": {
|
||||||
"faceImage": {
|
"faceImage": {
|
||||||
"type": "icon",
|
"type": "icon",
|
||||||
"value": "aim"
|
"value": "aim"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#ffffff",
|
||||||
|
"opacity": 0.1
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,21 +61,18 @@
|
|||||||
"action": "leftTrigger",
|
"action": "leftTrigger",
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
"outline": {
|
|
||||||
"indicator": {
|
|
||||||
"type": "color",
|
|
||||||
"value": "#ffffff"
|
|
||||||
},
|
|
||||||
"stroke": {
|
|
||||||
"type": "solid",
|
|
||||||
"color": "#ffffff"
|
|
||||||
},
|
|
||||||
"opacity": 0.5
|
|
||||||
},
|
|
||||||
"knob": {
|
"knob": {
|
||||||
"faceImage": {
|
"faceImage": {
|
||||||
"type": "icon",
|
"type": "icon",
|
||||||
"value": "aim"
|
"value": "aim"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"type": "color",
|
||||||
|
"value": "#ffffff",
|
||||||
|
"opacity": 0.1
|
||||||
|
},
|
||||||
|
"stroke": {
|
||||||
|
"opacity": 0.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,6 @@
|
|||||||
"inner": [
|
"inner": [
|
||||||
{
|
{
|
||||||
"type": "joystick",
|
"type": "joystick",
|
||||||
"expand": false,
|
|
||||||
"axis": {
|
"axis": {
|
||||||
"input": "axisXY",
|
"input": "axisXY",
|
||||||
"output": "rightJoystick"
|
"output": "rightJoystick"
|
||||||
|
|||||||
Reference in New Issue
Block a user