mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Doom 3 Touch Controls (#314)
* Update doom-64.json * Update doom-64.json * Add files via upload * Add files via upload * Update doom-3.json I've changed the weapon select items to button icons. I moved a few buttons to the left. * Update doom-3.json Changed the buttons as requested. * Update doom-3.json Made suggested amendments. * Update doom-3.json * Update 2096821037.json --------- Co-authored-by: redphx <96280+redphx@users.noreply.github.com>
This commit is contained in:
parent
ff8a8b723a
commit
a1adf44ae4
7
touch-layouts/2096821037.json
Normal file
7
touch-layouts/2096821037.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "DOOM 3",
|
||||
"default_layout": "custom",
|
||||
"layouts": [
|
||||
"doom-3"
|
||||
]
|
||||
}
|
194
touch-layouts/layouts/doom-3.json
Normal file
194
touch-layouts/layouts/doom-3.json
Normal file
@ -0,0 +1,194 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"layouts": {
|
||||
"custom": {
|
||||
"name": "Custom",
|
||||
"content": {
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"expand": false,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"deadzone": {
|
||||
"threshold": 0.05,
|
||||
"radial": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper"
|
||||
},
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "directionalPad",
|
||||
"interaction": {
|
||||
"activationType": "exclusive"
|
||||
},
|
||||
"scale": 0.8
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftTrigger",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "brightness"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null,
|
||||
null,
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftBumper"
|
||||
}
|
||||
]
|
||||
},
|
||||
"right": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick",
|
||||
"deadzone": {
|
||||
"threshold": 0.05,
|
||||
"radial": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
null,
|
||||
null,
|
||||
[
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightThumb",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "crouch"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
null,
|
||||
null,
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadA",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "jump"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"type": "touchpad",
|
||||
"axis": [
|
||||
{
|
||||
"input": "axisX",
|
||||
"output": "rightJoystickX",
|
||||
"sensitivity": 3
|
||||
},
|
||||
{
|
||||
"input": "axisY",
|
||||
"output": "rightJoystickY",
|
||||
"sensitivity": 3
|
||||
}
|
||||
],
|
||||
"renderAsButton": true,
|
||||
"action": "gamepadY",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "interact"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftThumb",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "sprint"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightTrigger",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "fire"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadX",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "reload"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"upper": {
|
||||
"right": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "menu"
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "view",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "phone"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadB"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user