Skip to content

Controls

Generic SteamVR Controls: 

Same as Oculus, but left hand "Y" button is used for arc teleport

Note: Grabbing is trigger button, for most new controllers the "Meta/Oculus" button mapping will be used where you press the right thumbstick forward to do an arc teleport and you hold the "A" (lower) button on the right controller while moving the left thumbstick to move up/down and hold the "B" (upper) button on the right controller to move forward/backward. Pressing the Oculus system button will bring up the Oculus menu. 

Standing Mode OpenXR - Squeeze the left grip button and press the right B button if your position is low with OpenXR, as this can happen sometimes if running in a seated mode

TriggerPress callbacks

There are also built in callbacks for using the triggerPress or triggerPressLeft (these are either the left and right triggers on the controllers or the left mouse button). If you are attaching this to more than one function you may need to use "triggerPress2", etc. 

"secondTrigger" and "secondTriggerLeft" are the grip buttons (or right click for desktop) or the menu buttons for Vive controllers

VR Menu/Tablet: Press right trigger down or left button trackpad (for Vive headsets) 'm' for desktop

Additional Desktop Controls

  • Escape: Quit active script.
  • 'P': Toggle gaze point.
  • ',' : Toggle gaze point mirrored view
  • 'R': Reset position.
  • ';': Toggle mouselock.
  • F2: Full screen toggle.
  • F3: Change rendering mode.
  • F4: Frame rate and performance stats.
  • Spacebar: Start/stop experiment (unless you have defined a different starting event or key)
  • WASD/Arrow keys: Movement.
  • X/Z: Vertical movement.
  • Q/E: Rotation.
  • /: Capture screen shot
  • Mouse Scroll: Move controller.
  • Left Mouse Button: Interact/grab.
  • Right Mouse Button: Use selector tool (if added)
  • TAB: See all connected clients on the server

GUI Controls

Record/ save region of interest- "1"

Toggle being able to move transport or look around scene - Left Shift

',' Toggle showing the scene

  • Session Replay: Refer to "Session Replay" section.
  • Optional Functions (based on if these features added through templates):

    • 'M': Toggle virtual menu or flashlight
    • 'V': Toggle models and media.
    • 'T': Get position of main viewpoint (this can then be copied and pasted to change the starting point)
    • Thumbstick down: Toggle virtual menu or flashlight in headset
    • '3': Toggle lights.
    • 'J': Toggle hand joints (OpenXR full body tracking).
    • "C" and "G" place start and end points if using the measuring tape tool (RH Grip and RH 'B' for headsets)
    • C: calibrate eye tracker for Pupil Labs, original Tobii and StarVR (all other devices use specific vendor calibrations)
    • 'V': Toggle video feed of eyes for Pupil Labs

Media Playback 

Used on some examples using video screen playback, can be modified in the accompanying config file

  • 'Play: 'V'
  • Reset: 'K'
  • Fast Forward: 'F'
  • Next Video: 'C'
  • Resize Video Screen: 'M' and 'N'

Refer to specific examples for custom key bindings per example

Multi User Server Navigation (version 2.0 and later)

'forward': 'u',

'back': 'j',

'left': 'h',

'right': 'k',

'up': 'n',       

'down': 'b',      

'yaw_left': 'y',  

'yaw_right': 'i', 

'pitch_up': 'o',  

'pitch_down': 'l'