better-xcloud/touch-layouts/layouts/doom-doom-ii.json
Kode-Z 171768e617
New custom touch controls. (#727)
* Add files via upload

* Add files via upload

* Update 1278031123.json

* Update south-of-midnight.json

Added segmented pull buttons to enhance combat/traversal gameplay!

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update south-of-midnight.json

* Update south-of-midnight.json

* south-of-midnight: minor adjustments

- Change segmented button's opacity from 0.3 to 0.5
- Add "exclusive" type for d-pad

---------

Co-authored-by: redphx <96280+redphx@users.noreply.github.com>
2025-05-31 10:32:58 +07:00

158 lines
3.7 KiB
JSON

{
"schema_version": 1,
"layouts": {
"custom": {
"name": "custom",
"author": "Kode-Z",
"content": {
"left": {
"inner": [
{
"type": "joystick",
"expand": true,
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0.05,
"radial": true
}
}
}
],
"outer": [
{
"type": "button",
"action": "rightBumper"
},
null,
[
{
"type": "directionalPad",
"interaction": {
"activationType": "exclusive"
},
"scale": 1.2
}
],
null,
null,
null,
{
"type": "button",
"action": "leftBumper"
}
]
},
"right": {
"inner": [
{
"type": "touchpad",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"sensitivity": 2.5
},
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "aim"
}
}
}
}
],
"outer": [
null,
null,
{
"type": "button",
"action": "leftTrigger",
"toggle": true,
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "walk"
}
}
}
},
null,
{
"type": "button",
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
},
[
{
"type": "touchpad",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"sensitivity": 2.5
},
"action": "rightTrigger",
"renderAsButton": true,
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "fire"
}
}
}
}
]
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "map"
}
}
}
},
{
"type": "button",
"action": "gamepadB"
},
{
"type": "button",
"action": "gamepadX"
}
]
},
"sensors": [
{
"type": "gyroscope",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"sensitivity": 1
}
}
]
}
}
}
}