mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 08:16:21 +02:00
Android - Make it possible to use the touchpad for walk/fly (and orientate/see) when not in independent camera mode (allowing first person and third person).
This commit is contained in:
parent
f7f90935c1
commit
cc361385d9
1 changed files with 4 additions and 7 deletions
|
@ -1,15 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "TouchscreenVirtualPad to Actions",
|
"name": "TouchscreenVirtualPad to Actions",
|
||||||
"channels": [
|
"channels": [
|
||||||
{ "from": "TouchscreenVirtualPad.LY", "when": "Application.CameraFirstPerson", "filters": { "type": "deadZone", "min": 0.05 }, "to": "Actions.TranslateZ" },
|
{ "from": "TouchscreenVirtualPad.LY", "when": "!Application.CameraIndependent", "filters": { "type": "deadZone", "min": 0.05 }, "to": "Actions.TranslateZ" },
|
||||||
{ "from": "TouchscreenVirtualPad.LX", "when": "Application.CameraFirstPerson", "filters": { "type": "deadZone", "min": 0.05 }, "to": "Actions.TranslateX" },
|
|
||||||
|
|
||||||
|
{ "from": "TouchscreenVirtualPad.LX", "when": "!Application.CameraIndependent", "filters": { "type": "deadZone", "min": 0.05 }, "to": "Actions.TranslateX" },
|
||||||
|
|
||||||
{ "from": "TouchscreenVirtualPad.RX", "when": "Application.CameraFirstPerson", "filters": { "type": "deadZone", "min": 0.05 }, "to": "Actions.Yaw" },
|
{ "from": "TouchscreenVirtualPad.RX", "when": "!Application.CameraIndependent", "filters": { "type": "deadZone", "min": 0.05 }, "to": "Actions.Yaw" },
|
||||||
|
|
||||||
{ "from": "TouchscreenVirtualPad.RY",
|
{ "from": "TouchscreenVirtualPad.RY", "when": "!Application.CameraIndependent", "to": "Actions.Pitch" }
|
||||||
"when": "Application.CameraFirstPerson",
|
|
||||||
"to": "Actions.Pitch"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue