Makes VR input easy
Gets input
// Gets right hand
bool isLeftHand = false;
bool isPressing = VRInputHandler.GetInput(isLeftHand, InputType.Trigger);
Gets joystick direction
// Gets left hand
bool isLeftHand = true;
Vector2 direction = VRInputHandler.GetJoystick(isLeftHand);
Vibrates controllers
// Gets right hand
bool isLeftHand = false;
float strenght = 0.1f;
float duration = 0.1f;
Vector2 direction = VRInputHandler.VibrateController(isLeftHand, strength, duration);