ezEngine Release 26.3
Loading...
Searching...
No Matches
ezXRDeviceFeatures Struct Reference

Defines features the given device supports. More...

#include <Declarations.h>

Classes

struct  Bits
 

Public Types

enum  Enum : ezUInt32 {
  None = 0 , Trigger = EZ_BIT(0) , Select = EZ_BIT(1) , Menu = EZ_BIT(2) ,
  Squeeze = EZ_BIT(3) , PrimaryAnalogStick = EZ_BIT(4) , PrimaryAnalogStickClick = EZ_BIT(5) , PrimaryAnalogStickTouch = EZ_BIT(6) ,
  SecondaryAnalogStick = EZ_BIT(7) , SecondaryAnalogStickClick = EZ_BIT(8) , SecondaryAnalogStickTouch = EZ_BIT(9) , PrimaryButton = EZ_BIT(10) ,
  PrimaryButtonTouch = EZ_BIT(11) , SecondaryButton = EZ_BIT(12) , SecondaryButtonTouch = EZ_BIT(13) , GripPose = EZ_BIT(14) ,
  AimPose = EZ_BIT(15) , Default = None
}
 
using StorageType = ezUInt32
 

Detailed Description

Defines features the given device supports.

Member Enumeration Documentation

◆ Enum

enum ezXRDeviceFeatures::Enum : ezUInt32
Enumerator
Trigger 

Float input. Analog trigger value 0-1.

Select 

Bool input. Trigger fully pressed.

Menu 

Bool input. Menu/Start button.

Squeeze 

Float input. Analog squeeze/grip value 0-1.

PrimaryAnalogStick 

2D axis input. Thumbstick/joystick.

PrimaryAnalogStickClick 

Bool input. Thumbstick pressed.

PrimaryAnalogStickTouch 

Bool input. Thumbstick touched.

SecondaryAnalogStick 

2D axis input. Trackpad or secondary joystick.

SecondaryAnalogStickClick 

Bool input. Trackpad/secondary joystick pressed.

SecondaryAnalogStickTouch 

Bool input. Trackpad/secondary joystick touched.

PrimaryButton 

Bool input. Primary face button (X/A).

PrimaryButtonTouch 

Bool input. Primary face button touched.

SecondaryButton 

Bool input. Secondary face button (Y/B).

SecondaryButtonTouch 

Bool input. Secondary face button touched.

GripPose 

3D Pose input. Grip/hand position.

AimPose 

3D Pose input. Aim/pointer direction.


The documentation for this struct was generated from the following file: