mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
South of Midnight custom touch controls (#715)
This commit is contained in:
parent
a450b6e5a3
commit
1e681c9542
7
touch-layouts/1704490079.json
Normal file
7
touch-layouts/1704490079.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"name": "South of Midnight",
|
||||||
|
"default_layout": "custom",
|
||||||
|
"layouts": [
|
||||||
|
"south-of-midnight"
|
||||||
|
]
|
||||||
|
}
|
147
touch-layouts/layouts/south-of-midnight.json
Normal file
147
touch-layouts/layouts/south-of-midnight.json
Normal file
@ -0,0 +1,147 @@
|
|||||||
|
{
|
||||||
|
"schema_version": 1,
|
||||||
|
"layouts": {
|
||||||
|
"custom": {
|
||||||
|
"name": "Custom",
|
||||||
|
"author": "Kode-Z",
|
||||||
|
"content": {
|
||||||
|
"left": {
|
||||||
|
"inner": [
|
||||||
|
{
|
||||||
|
"type": "joystick",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "leftJoystick"
|
||||||
|
},
|
||||||
|
"action": "leftThumb",
|
||||||
|
"relative": false,
|
||||||
|
"actionThreshold": 2,
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "walk"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"activated": {
|
||||||
|
"knob": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "sprint"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outer": [
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "directionalPad"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
null
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"right": {
|
||||||
|
"inner": [
|
||||||
|
{
|
||||||
|
"type": "joystick",
|
||||||
|
"expand": false,
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "rightJoystick"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outer": [
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightBumper"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightTrigger"
|
||||||
|
},
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadB"
|
||||||
|
},
|
||||||
|
null,
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadA",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "jump"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadX",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "lightPunch3"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "rightThumb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "gamepadY",
|
||||||
|
"styles": {
|
||||||
|
"default": {
|
||||||
|
"faceImage": {
|
||||||
|
"type": "icon",
|
||||||
|
"value": "interact"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftTrigger"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "leftBumper"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"upper": {
|
||||||
|
"right": [
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "menu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"action": "view"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user