Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_xr_types.h
| Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
| } eXrActionType; | } eXrActionType; | ||||
| typedef enum eXrOpFlag { | typedef enum eXrOpFlag { | ||||
| XR_OP_PRESS = 0, | XR_OP_PRESS = 0, | ||||
| XR_OP_RELEASE = 1, | XR_OP_RELEASE = 1, | ||||
| XR_OP_MODAL = 2, | XR_OP_MODAL = 2, | ||||
| } eXrOpFlag; | } eXrOpFlag; | ||||
| typedef enum eXrAxisFlag { | |||||
| /** For axis-based inputs (thumbstick/trackpad/etc). Determines the region for operator execution | |||||
| (mutually exclusive per axis). */ | |||||
| XR_AXIS0_POS = (1 << 0), | |||||
| XR_AXIS0_NEG = (1 << 1), | |||||
| XR_AXIS1_POS = (1 << 2), | |||||
| XR_AXIS1_NEG = (1 << 3), | |||||
| } eXrAxisFlag; | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||