mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
DOOM 64 Custom Touch Controls (#297)
* Create doom-64.json Doom 64 touch controls. * Create 2136041956.json * Update 2136041956.json * Update 2136041956.json * Update doom-64.json --------- Co-authored-by: redphx <96280+redphx@users.noreply.github.com>
This commit is contained in:
parent
19460ccc2b
commit
3001f0278a
7
touch-layouts/2136041956.json
Normal file
7
touch-layouts/2136041956.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "DOOM 64",
|
||||
"default_layout": "custom",
|
||||
"layouts": [
|
||||
"doom-64"
|
||||
]
|
||||
}
|
173
touch-layouts/layouts/doom-64.json
Normal file
173
touch-layouts/layouts/doom-64.json
Normal file
@ -0,0 +1,173 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"layouts": {
|
||||
"custom": {
|
||||
"name": "Custom",
|
||||
"content": {
|
||||
"left": {
|
||||
"inner": [
|
||||
{
|
||||
"type": "joystick",
|
||||
"action": "leftTrigger",
|
||||
"actionThreshold": 0.75,
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "leftJoystick",
|
||||
"deadzone": {
|
||||
"threshold": 0.05,
|
||||
"radial": true
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"default": {
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "walk"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#c60a0a"
|
||||
}
|
||||
},
|
||||
"activated": {
|
||||
"knob": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "sprint"
|
||||
},
|
||||
"background": {
|
||||
"type": "color",
|
||||
"value": "#c60a0a"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outer": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
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": [
|
||||
{
|
||||
"type": "button",
|
||||
"action": "rightBumper"
|
||||
},
|
||||
null,
|
||||
{
|
||||
"type": "button",
|
||||
"action": "leftTrigger",
|
||||
"toggle": true,
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "sprint"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
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": "view",
|
||||
"styles": {
|
||||
"default": {
|
||||
"faceImage": {
|
||||
"type": "icon",
|
||||
"value": "map"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"action": "gamepadB"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sensors": [
|
||||
{
|
||||
"type": "gyroscope",
|
||||
"axis": {
|
||||
"input": "axisXY",
|
||||
"output": "rightJoystick",
|
||||
"sensitivity": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user