WaveVR API Usage Prerequisites

Introduction

In WaveVR, there are some major APIs that must be called before using other minor APIs.

Otherwise, those minor APIs do NOT take effect and may return false or null.

Please note the major APIs list below:

WVR_SetInputRequest (new in SDK3.0.0)

Minor APIs:

  • WVR_GetInputTypeCount
  • WVR_GetInputDeviceState
  • WVR_GetInputButtonState
  • WVR_GetInputTouchState
  • WVR_GetInputAnalogAxis

Before using these minor APIs, WVR_SetInputRequest should be called first.

In WaveVR design, WVR_SetInputRequest is used in prefab WaveVRButtons , please refer to Buttons

We do not encourage developers to use WVR_SetInputRequest directly, please use WaveVRButtons instead to set up buttons.