mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-27 12:06:00 +02:00
Touchscreen camera control is now via a touchscreen device. Input must be enabled with the menu option. Currently supports dragging and gesturing to control avatar camera. Gesturing is handled by integration of the Qt implementation.
24 lines
702 B
JSON
24 lines
702 B
JSON
{
|
|
"name": "Touchscreen to Actions",
|
|
"channels": [
|
|
|
|
{ "from": "Touchscreen.GesturePinchOut", "to": "Actions.BoomOut", "filters": [ { "type": "scale", "scale": 0.02 } ]},
|
|
{ "from": "Touchscreen.GesturePinchIn", "to": "Actions.BoomIn", "filters": [ { "type": "scale", "scale": 0.02 } ]},
|
|
|
|
{ "from": { "makeAxis" : [
|
|
[ "Touchscreen.DragLeft" ],
|
|
[ "Touchscreen.DragRight" ]
|
|
]
|
|
},
|
|
"to": "Actions.Yaw"
|
|
},
|
|
|
|
{ "from": { "makeAxis" : [
|
|
[ "Touchscreen.DragUp" ],
|
|
[ "Touchscreen.DragDown" ]
|
|
]
|
|
},
|
|
"to": "Actions.Pitch"
|
|
}
|
|
]
|
|
}
|