mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
RE2: fix gyro not working
This commit is contained in:
parent
2ab431d1b5
commit
b6a97263b4
@ -25,7 +25,7 @@
|
|||||||
"axis": {
|
"axis": {
|
||||||
"input": "axisXY",
|
"input": "axisXY",
|
||||||
"output": "rightJoystick",
|
"output": "rightJoystick",
|
||||||
"sensitivity": 2
|
"sensitivity": 3
|
||||||
},
|
},
|
||||||
"styles": {
|
"styles": {
|
||||||
"default": {
|
"default": {
|
||||||
@ -37,7 +37,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"sensors": [
|
||||||
|
{
|
||||||
|
"type": "gyroscope",
|
||||||
|
"axis": {
|
||||||
|
"input": "axisXY",
|
||||||
|
"output": "rightJoystick",
|
||||||
|
"sensitivity": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"left": {
|
"left": {
|
||||||
@ -92,10 +102,6 @@
|
|||||||
},
|
},
|
||||||
"action": [
|
"action": [
|
||||||
"leftTrigger",
|
"leftTrigger",
|
||||||
{
|
|
||||||
"type": "layer",
|
|
||||||
"target": "EnableGyro"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "layer",
|
"type": "layer",
|
||||||
"target": "AimTouchpad"
|
"target": "AimTouchpad"
|
||||||
@ -198,12 +204,12 @@
|
|||||||
{
|
{
|
||||||
"input": "axisX",
|
"input": "axisX",
|
||||||
"output": "rightJoystickX",
|
"output": "rightJoystickX",
|
||||||
"sensitivity": 1
|
"sensitivity": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "axisY",
|
"input": "axisY",
|
||||||
"output": "rightJoystickY",
|
"output": "rightJoystickY",
|
||||||
"sensitivity": 1
|
"sensitivity": 3
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"renderAsButton": true,
|
"renderAsButton": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user