Touch controls for “Those Who Remain” (#384)

* Create 2046367994.json

* Create those-who-remain.json
This commit is contained in:
Kode-Z 2024-05-04 10:53:39 +01:00 committed by GitHub
parent a0063a30f8
commit 4037eb647f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 102 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"name": "Those Who Remain",
"default_layout": "custom",
"layouts": [
"those-who-remain"
]
}

View File

@ -0,0 +1,95 @@
{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"content": {
"left": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
}
}
],
"outer": [
null,
null,
null,
null,
null,
null,
null
]
},
"right": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick"
}
}
],
"outer": [
{
"type": "button",
"action": "gamepadB",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "throw"
}
}
}
},
null,
{
"type": "button",
"action": "leftTrigger",
"toggle": true,
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "run"
}
}
}
},
null,
null,
{
"type": "button",
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "gamepadY"
}
]
}
}
}
}
}