1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-02 17:46:22 +03:00
occt/src/XRResources/occtvr_bindings_generic.json
kgv b40cdc2b55 0029384: Visualization, TKOpenGl - basic integration with OpenVR
V3d_View::AutoZFit() is now called only before redraw
within methods V3d_View::Redraw() and V3d_View::Update().

Graphic3d_CView now holds Aspect_ExtendedRealitySession object.
Aspect_OpenVRSession implements new interface via optional OpenVR library.
Graphic3d_CView::ProcessInput() - added new interface method
which should be called for processing positional input (head tracking).

Graphic3d_Camera now allows setting custom stereoscopic Projection matrices.

OpenGl_Context::Camera() - context now holds Camera object
in addition to active camera matrices.

genproj.tcl has been extended to handle optional CSF_OpenVR dependency.
2020-05-06 20:45:53 +03:00

88 lines
2.6 KiB
JSON

{
"bindings": {
"/actions/generic_left": {
"haptics": [
{
"output": "/actions/generic_left/out/haptic",
"path": "/user/hand/left/output/haptic"
}
],
"sources": [
{
"inputs": {
"click": { "output": "/actions/generic_left/in/appmenu_click" }
},
"mode": "button",
"path": "/user/hand/left/input/application_menu"
},
{
"inputs": {
"click": { "output": "/actions/generic_left/in/trigger_click" }
},
"mode": "button",
"path": "/user/hand/left/input/trigger"
},
{
"inputs": {
"click": { "output": "/actions/generic_left/in/trackpad_click" },
"touch": { "output": "/actions/generic_left/in/trackpad_touch" },
"position": { "output": "/actions/generic_left/in/trackpad_position" }
},
"mode": "trackpad",
"path": "/user/hand/left/input/trackpad"
},
{
"inputs": {
"click": { "output": "/actions/generic_left/in/grip_click" }
},
"mode": "button",
"path": "/user/hand/left/input/grip"
}
]
},
"/actions/generic_right": {
"haptics": [
{
"output": "/actions/generic_right/out/haptic",
"path": "/user/hand/right/output/haptic"
}
],
"sources": [
{
"inputs": {
"click": { "output": "/actions/generic_right/in/appmenu_click" }
},
"mode": "button",
"path": "/user/hand/right/input/application_menu"
},
{
"inputs": {
"click": { "output": "/actions/generic_right/in/trigger_click" }
},
"mode": "button",
"path": "/user/hand/right/input/trigger"
},
{
"inputs": {
"click": { "output": "/actions/generic_right/in/trackpad_click" },
"touch": { "output": "/actions/generic_right/in/trackpad_touch" },
"position": { "output": "/actions/generic_right/in/trackpad_position" }
},
"mode": "trackpad",
"path": "/user/hand/right/input/trackpad"
},
{
"inputs": {
"click": { "output": "/actions/generic_right/in/grip_click" }
},
"mode": "button",
"path": "/user/hand/right/input/grip"
}
]
}
},
"controller_type": "generic",
"description": "Standard Open CASCADE Technology VR bindings for a generic controller",
"name": "OCCT VR bindings for a generic controller"
}