AnnOpenVRMotionController

This is the specialization of the AnnHandController regarding the OpenVR controllers

Mapping

Here's are the correspondence between generic button/indexes in code and what they corespond to in OpenVR lingo

Button

  • 0 = ApplicationMenu
  • 1 = Grip
  • 2 = A
  • 3 = TouchPad
  • 4 = Trigger

Axis

  • 0 = Touchpad X
  • 1 = Touchpad Y
  • 2 = Trigger (only on the [0;1] range)

Special features

The call to “rumble start” don't actually start rumbling, but cause an unique haptic pulse, and will limit it's pulse period to around 30ms.

Othrewise, nothing significant