|
static bool | IsPresent () |
| check if the vr device is present More...
|
|
static InputDevice | GetDevicesWithCharacteristics (InputDeviceCharacteristics desiredCharacteristics) |
|
static XRNode | GetInputDeviceXRNode (InputDevice device) |
|
static bool | CheckCmdControllerType (ref VRTKInputDevice.ControllerType controllerType) |
|
static VRTKInputDevice.ControllerType | GetCurrentControllerType (InputDevice device) |
| given input device to get the related controller type More...
|
|
static bool | IsBtnPressed (InputDevice device, InputFeatureUsage< bool > usage) |
| check the button of the given device is pressed or not More...
|
|
static bool | GetHandPosePressDown (VRTKInputButton.ButtonType button, XRNode node) |
|
static bool | GetHandPosePressUp (VRTKInputButton.ButtonType button, XRNode node) |
|
static bool | GetHandPosePress (VRTKInputButton.ButtonType button, XRNode node) |
|
static bool | GetControllerButtonPressDown (VRTKInputButton.ButtonType button, InputDevice device, XRNode node, bool isTouch=false) |
| check if a given button was pressed More...
|
|
static bool | GetControllerButtonPressUp (VRTKInputButton.ButtonType button, InputDevice device, XRNode node, bool isTouch=false) |
| check if a given button was release More...
|
|
static bool | GetControllerButtonPress (VRTKInputButton.ButtonType button, InputDevice device, XRNode node, bool isTouch=false) |
|
static Vector2 | GetControllerAxisValue (VRTKInputButton.ButtonType button, InputDevice device, XRNode node) |
| get axis value of a given button from input device More...
|
|
static bool | GetControllerButtonState (VRTKInputButton.ButtonType button, InputDevice device, bool isTouch=false) |
| another way get button state on given inputdevice More...
|
|
static Vector2 | GetControllerAxis (VRTKInputButton.ButtonType button, InputDevice device) |
|
static void | HapticPulse (InputDevice device, float strength=0.5f) |
|