Files
better-xcloud/touch-layouts/layouts/cyberpunk-2077.json
2024-05-08 16:59:23 +07:00

383 lines
10 KiB
JSON

{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"author": "evanpaul14",
"content": {
"left": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
},
"action": "leftThumb",
"relative": false,
"actionThreshold": 2,
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "walk"
}
}
},
"activated": {
"knob": {
"faceImage": {
"type": "icon",
"value": "sprint"
}
}
}
}
}
],
"outer": [
null,
null,
[
{
"type": "directionalPad",
"interaction": {
"activationType": "exclusive"
},
"scale": 1.1
},
null
],
null,
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 20
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 20
}
],
"renderAsButton": true,
"action": "leftBumper",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "ability"
}
}
}
}
]
},
"right": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"deadzone": {
"threshold": 0.01,
"radial": true
}
},
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "look"
}
}
}
}
}
],
"outer": [
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "relativeMouseX",
"sensitivity": 20
},
{
"input": "axisY",
"output": "relativeMouseY",
"sensitivity": 20
}
],
"renderAsButton": true,
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "weaponSelect"
}
}
}
},
{
"type": "button",
"toggle": true,
"action": [
"leftTrigger",
{
"type": "layer",
"target": "ADS"
}
],
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "aim"
}
}
}
},
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 20
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 20
}
],
"renderAsButton": true,
"action": "gamepadB",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "crouch"
}
}
}
},
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 20
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 20
}
],
"renderAsButton": true,
"action": "rightThumb",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "punch"
}
}
}
},
[
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 20
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 20
}
],
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "jump"
}
}
},
"renderAsButton": true
},
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 20
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 20
}
],
"renderAsButton": true,
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "reload"
}
}
}
},
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 20
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 20
}
],
"renderAsButton": true,
"action": [
"rightTrigger"
],
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "fire"
}
}
}
}
],
null,
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 20
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 20
}
],
"renderAsButton": true,
"action": "rightBumper",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "grenade"
}
}
}
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "view"
}
]
},
"layers": {
"ADS": {
"left": {
"outer": [
null,
null,
[
{
"type": "directionalPad",
"interaction": {
"activationType": "exclusive"
},
"scale": 1.1
},
null
],
null,
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 20
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 20
}
],
"renderAsButton": true,
"action": "leftBumper",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "ability"
}
}
}
},
[
{
"type": "button",
"action": "rightTrigger",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "fire"
}
}
}
},
null
]
]
}
}
}
}
}
}
}