Immerseum SDK: VR Simulator (version: RC-1.0.0)
      [view as: Desktop | Tablet | Mobile]
Default Input Actions

The following table lists the Default Input Actions that are automatically created and initialized by the VRSimulator. These are fully customizable, should you so choose - for more information, please see Configuring Input & Movement.

You Should Know... You Should Know...

The InputActions described below are all defined and mapped to the input devices as described. However, the VRSimulator does not (currently) respond to all InputActions.

If an InputAction in the list below does not have any handler, then it will still fire a related event when detected - which if you want to handle, you can do so using a custom input handler.

InputAction Name Movement Fires Event (within EventManger) Inputs
togglePauseMenu

 

OnPauseButtonActivation

OnPauseButtonDeactivation

  • Keyboard: Escape
  • Mouse:
  • Gamepad: Start
  • HTC/Vive Wand: Menu Button
  • Oculus Remote:
  • Oculus Touch: Right Thumbstick Press
toggleView

OnViewButtonActivation

OnViewButtonDeactivation

  • Keyboard: Tab
  • Mouse:
  • Gamepad: Back / Menu
  • HTC/Vive Wand: Oculus Remote:
  • Oculus Touch:
togglePrimaryTrigger

OnPrimaryTriggerActivation

OnPrimaryTriggerDeactivation

toggleSecondaryTrigger

OnSecondaryTriggerActivation

OnSecondaryTriggerDeactivation

toggleRightThumbstickClick Rotates camera to point forwards.

OnRightThumbstickClickActivation

OnRightThumbstickClickDeactivation

  • Keyboard: F, Numpad 5
  • Mouse: Center Button
  • Gamepad: Right Thumbstick (click)
  • HTC/Vive Wand: Right Grip
  • Oculus Remote:
  • Oculus Touch: Right Thumbstick (click)
toggleLeftThumbstickClick Toggles Is Run Active on / off (see MovementManager settings).

OnLeftThumbstickClickActivation

OnLeftThumbstickClickDeactivation

  • Keyboard: C, Left Shift
  • Mouse:
  • Gamepad: Left Thumbstick (click)
  • HTC/Vive Wand: Left Grip
  • Oculus Remote:
  • Oculus Touch: Left Thumbstick (click)
toggleLeftBumper Ratchets the camera to the left (rotates to the left by the number of degrees configured in Keyboard Rotation Ratchet).

OnLeftBumperActivation

OnLeftBumperDeactivation

  • Keyboard: Q, Numpad 7
  • Mouse:
  • Gamepad: Left Bumper
  • HTC/Vive Wand:
  • Oculus Remote:
  • Oculus Touch:
toggleRightBumper Ratchets the camera to the right (rotates to the right by the number of degrees configured in Keyboard Rotation Ratchet).

OnRightBumperActivation

OnRightBumperDeactivation

  • Keyboard: E, Numpad 9
  • Mouse:
  • Gamepad: Right Bumper
  • HTC/Vive Wand:
  • Oculus Remote:
  • Oculus Touch:
toggleSelectionButton

OnSelectionButtonActivation

OnSelectionButtonDeactivation

  • Keyboard: Enter, Numpad Enter, Space
  • Mouse:
  • Gamepad: A
  • HTC/Vive Wand: Touchpad Center
  • Oculus Remote:
  • Oculus Touch: A
toggleCancelButton

OnCancelButtonActivation

OnCancelButtonDeactivation

  • Keyboard: X, Numpad Plus, Backspace
  • Gamepad: B
  • HTC/Vive Wand:
  • Oculus Remote: Back
  • Oculus Touch: B
toggleSecondaryButton

OnSecondaryButtonActivation

OnSecondaryButtonDeactivation

  • Keyboard: Page Up, Right Shift, Numpad 0, CapsLock
  • Mouse:
  • Gamepad: X
  • HTC/Vive Wand:
  • Oculus Remote:
  • Oculus Touch: X
toggleTertiaryButton

OnTertiaryButtonActivation

OnTertiaryButtonDeactivation

  • Keyboard: Numpad /, 2, K
  • Mouse:
  • Gamepad: Y
  • HTC/Vive Wand:
  • Oculus Remote:
  • Oculus Touch: Y
xAxisMovement

Used to control lateral movement (strafe) along the X-Axis.

OnXAxisMovementStart

OnXAxisMovementEnd

  • Keyboard (if Is Strafe Enabled): A, D, Left Arrow, Right Arrow, Numpad 4, Numpad 6
  • Mouse:
  • Gamepad: Left Thumbstick X (left/right), D-Pad X (left/right)
  • HTC/Vive Wand:
  • Oculus Remote: D-Pad Left, D-Pad Right
  • Oculus Touch: Left Thumbstick (left/right)
zAxisMovement Used to control forward/backward movement along the Z-axis.

OnZAxisMovementStart

OnZAxisMovementEnd

  • Keyboard: W, S, Up Arrow, Down Arrow, Numpad 8, Numpad 2
  • Mouse:
  • Gamepad: Left Thumbstick Y (up/down), D-Pad Y (up/down)
  • HTC/Vive Wand:
  • Oculus Remote: D-Pad Up, D-Pad Down
  • Oculus Touch: Left Thumbstick Y(up/down)
pitchRotation Used to look up or down (pitch).

OnPitchRotationStart

OnPitchRotationEnd

  • Keyboard:
  • Mouse: Vertical
  • Gamepad: Right Thumbstick Y (up/down)
  • HTC/Vive Wand:
  • Oculus Remote:
  • Oculus Touch:
yawRotation Used to look left or right (yaw).

OnYawRotationStart

OnYawRotationEnd

  • Keyboard (if Is Strafe Enabled is deactivated): A, D, Left Arrow, Right Arrow, Numpad 4, Numpad 6
  • Mouse: Horizontal
  • Gamepad: Right Thumbstick X (left/right)
  • HTC/Vive Wand:
  • Oculus Remote:
  • Oculus Touch:

 

See Also

Configuring the VRSimulator

 

 


2017 Copyright © Immerseum Inc. All rights reserved.

Send Feedback