Custom touch controls for “Close to the Sun”. (#358)

* Create 7D939E48.json

* Create close-to-the-sun.json
This commit is contained in:
Kode-Z 2024-04-11 23:58:30 +01:00 committed by GitHub
parent f71370679c
commit 6122365b43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 121 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"name": "Close to the Sun",
"default_layout": "custom",
"layouts": [
"close-to-the-sun"
]
}

View File

@ -0,0 +1,114 @@
{
"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": "close"
}
}
}
},
null,
{
"type": "button",
"action": "leftTrigger",
"toggle": true,
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "run"
}
}
}
},
null,
{
"type": "button",
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "jump"
}
}
}
},
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "view",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "book"
}
}
}
}
]
}
}
}
}
}