Skip to content

Commit 0a7ffd9

Browse files
authored
Started event mapping tables (existing and proposed)
Added temporary documentation for existing event mappings and proposed new event mappings for OpenXR Quest 3.
1 parent 3e8a76f commit 0a7ffd9

1 file changed

Lines changed: 40 additions & 1 deletion

File tree

  • PW45_2026_Boston/Projects/SlicervirtualrealityOpenxrUpdateAndPassthroughSupport

PW45_2026_Boston/Projects/SlicervirtualrealityOpenxrUpdateAndPassthroughSupport/README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,46 @@ Currently SlicerVirtualReality is compiled using an older version of OpenXR. Thi
7474
1. Json file maps device specific buttons to device independent buttons ex. Button 1, Button 2, Joystick1, Trigger1, Grip1 etc.
7575
2. SlicerVirtualReality handles mapping from device independent events to interaction events ex. Pick3DEvent, Pick3DLineEvent, etc.
7676
3. Displayable managers handle events in the same way that they handle mouse and keyboard interaction events.
77-
77+
78+
### Temporary documentation of existing event mapping
79+
| OpenXR Quest 3 bindings | VTK action paths | Type | VTK function or event id (default) |
80+
| --------------------------------- | -------------------- | --------- | ---------------------------------- |
81+
| | elevation | vector2 | |
82+
| /user/hand/left/input/aim | handpose | pose | |
83+
| /user/hand/right/input/aim | handpose | pose | |
84+
| | handposegrip | pose | |
85+
| | haptic | vibration | |
86+
| | complexgestureaction | boolean | |
87+
| /user/hand/right/input/thumbstick | movement | vector2 | |
88+
| | nextcamerapose | boolean | |
89+
| | positionprop | boolean | |
90+
| /user/hand/right/input/b | showmenu | boolean | |
91+
| | startelevation | boolean | |
92+
| /user/hand/right/input/thumbstick | startmovement | boolean | |
93+
| /user/hand/right/input/a | triggeraction | boolean | |
94+
| /user/hand/left/input/y | forwardthickcrop | | |
95+
| /user/hand/left/input/menu | nextcamerapose | | |
96+
| /user/hand/left/input/x | backthickcrop | | |
97+
98+
### New event mapping proposal
99+
| OpenXR Quest 3 bindings | VTK action paths | Type | VTK function or event id (default) |
100+
| --------------------------------- | -------------------- | --------- | ---------------------------------- |
101+
| | elevation | vector2 | |
102+
| /user/hand/left/input/aim | handpose | pose | |
103+
| /user/hand/right/input/aim | handpose | pose | |
104+
| | handposegrip | pose | |
105+
| | haptic | vibration | |
106+
| | complexgestureaction | boolean | |
107+
| /user/hand/right/input/thumbstick | movement | vector2 | |
108+
| | nextcamerapose | boolean | |
109+
| | positionprop | boolean | |
110+
| /user/hand/right/input/b | showmenu | boolean | |
111+
| | startelevation | boolean | |
112+
| /user/hand/right/input/thumbstick | startmovement | boolean | |
113+
| /user/hand/right/input/a | triggeraction | boolean | |
114+
| /user/hand/left/input/y | forwardthickcrop | | |
115+
| /user/hand/left/input/menu | nextcamerapose | | |
116+
| /user/hand/left/input/x | backthickcrop | | |
78117

79118
# Illustrations
80119

0 commit comments

Comments
 (0)