28#define XRT_UUID_SIZE 16
52#define XRT_LUID_SIZE 8
97 xrt_atomic_s32_t count;
110 XRT_BLEND_MODE_OPAQUE = 1,
111 XRT_BLEND_MODE_ADDITIVE = 2,
112 XRT_BLEND_MODE_ALPHA_BLEND = 3,
113 XRT_BLEND_MODE_MAX_ENUM,
116#define XRT_MAX_DEVICE_BLEND_MODES 3
166 XRT_DISTORTION_MODEL_NONE = 1u << 0u,
167 XRT_DISTORTION_MODEL_COMPUTE = 1u << 1u,
168 XRT_DISTORTION_MODEL_MESHUV = 1u << 2u,
183 XRT_FORMAT_BAYER_GR8,
187 XRT_FORMAT_BITMAP_8X1,
188 XRT_FORMAT_BITMAP_8X8,
204 XRT_STEREO_FORMAT_NONE,
229#define XRT_QUAT_IDENTITY \
295#define XRT_VEC3_ZERO \
305#define XRT_VEC3_UNIT_X \
315#define XRT_VEC3_UNIT_Y \
325#define XRT_VEC3_UNIT_Z \
475#define XRT_POSE_IDENTITY \
477 XRT_QUAT_IDENTITY, XRT_VEC3_ZERO \
498#define XRT_MATRIX_2X2_ELEMENTS 4
505#define XRT_MATRIX_2X2_VECS 2
525#define XRT_MATRIX_3X3_ELEMENTS 9
552#define XRT_MATRIX_4X4_ELEMENTS 16
600 XRT_SPACE_REFERENCE_TYPE_VIEW,
601 XRT_SPACE_REFERENCE_TYPE_LOCAL,
602 XRT_SPACE_REFERENCE_TYPE_LOCAL_FLOOR,
603 XRT_SPACE_REFERENCE_TYPE_STAGE,
604 XRT_SPACE_REFERENCE_TYPE_UNBOUNDED,
612#define XRT_SPACE_REFERENCE_TYPE_COUNT (XRT_SPACE_REFERENCE_TYPE_UNBOUNDED + 1)
620#define XRT_SPACE_REFERENCE_TYPE_INVALID ((enum xrt_reference_space_type)(-1))
631 XRT_SPACE_RELATION_ORIENTATION_VALID_BIT = (1u << 0u),
632 XRT_SPACE_RELATION_POSITION_VALID_BIT = (1u << 1u),
633 XRT_SPACE_RELATION_LINEAR_VELOCITY_VALID_BIT = (1u << 2u),
634 XRT_SPACE_RELATION_ANGULAR_VELOCITY_VALID_BIT = (1u << 3u),
635 XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT = (1u << 4u),
636 XRT_SPACE_RELATION_POSITION_TRACKED_BIT = (1u << 5u),
638 XRT_SPACE_RELATION_BITMASK_ALL = (uint32_t)XRT_SPACE_RELATION_ORIENTATION_VALID_BIT |
639 (uint32_t)XRT_SPACE_RELATION_POSITION_VALID_BIT |
640 (uint32_t)XRT_SPACE_RELATION_LINEAR_VELOCITY_VALID_BIT |
641 (uint32_t)XRT_SPACE_RELATION_ANGULAR_VELOCITY_VALID_BIT |
642 (uint32_t)XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT |
643 (uint32_t)XRT_SPACE_RELATION_POSITION_TRACKED_BIT,
644 XRT_SPACE_RELATION_BITMASK_NONE = 0,
673#define XRT_SPACE_RELATION_ZERO \
675 XRT_SPACE_RELATION_BITMASK_NONE, XRT_POSE_IDENTITY, XRT_VEC3_ZERO, XRT_VEC3_ZERO \
685#define XRT_RELATION_CHAIN_CAPACITY 8
713 XRT_DEVICE_INVALID = 0,
715 XRT_DEVICE_GENERIC_HMD = 1,
719 XRT_DEVICE_VIVE_WAND,
720 XRT_DEVICE_VIVE_TRACKER,
721 XRT_DEVICE_VIVE_TRACKER_GEN1,
722 XRT_DEVICE_VIVE_TRACKER_GEN2,
723 XRT_DEVICE_VIVE_TRACKER_GEN3,
724 XRT_DEVICE_VIVE_TRACKER_TUNDRA,
727 XRT_DEVICE_SIMPLE_CONTROLLER,
729 XRT_DEVICE_WMR_CONTROLLER,
730 XRT_DEVICE_XBOX_CONTROLLER,
731 XRT_DEVICE_GO_CONTROLLER,
732 XRT_DEVICE_TOUCH_CONTROLLER,
733 XRT_DEVICE_INDEX_CONTROLLER,
735 XRT_DEVICE_HP_REVERB_G2_CONTROLLER,
736 XRT_DEVICE_SAMSUNG_ODYSSEY_CONTROLLER,
737 XRT_DEVICE_ML2_CONTROLLER,
738 XRT_DEVICE_OPPO_MR_CONTROLLER,
740 XRT_DEVICE_HAND_INTERACTION,
742 XRT_DEVICE_EYE_GAZE_INTERACTION,
749 XRT_DEVICE_HAND_TRACKER,
750 XRT_DEVICE_REALSENSE,
766 XRT_DEVICE_PICO_NEO3_CONTROLLER,
767 XRT_DEVICE_PICO4_CONTROLLER,
768 XRT_DEVICE_PICO_G3_CONTROLLER,
770 XRT_DEVICE_VIVE_COSMOS_CONTROLLER,
771 XRT_DEVICE_VIVE_FOCUS3_CONTROLLER,
773 XRT_DEVICE_TOUCH_PRO_CONTROLLER,
774 XRT_DEVICE_TOUCH_PLUS_CONTROLLER,
784 XRT_DEVICE_TYPE_UNKNOWN = 0,
786 XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER,
787 XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER,
788 XRT_DEVICE_TYPE_ANY_HAND_CONTROLLER,
789 XRT_DEVICE_TYPE_GENERIC_TRACKER,
790 XRT_DEVICE_TYPE_HAND_TRACKER,
791 XRT_DEVICE_TYPE_EYE_TRACKER,
792 XRT_DEVICE_TYPE_FACE_TRACKER,
793 XRT_DEVICE_TYPE_BODY_TRACKER,
831#define XRT_INPUT_TYPE_BITWIDTH 8u
840#define XRT_INPUT_TYPE_BITMASK 0xffu
853#define XRT_INPUT_NAME(id, type) ((UINT32_C(id) << XRT_INPUT_TYPE_BITWIDTH) | (uint32_t)XRT_INPUT_TYPE_##type)
864#define XRT_GET_INPUT_TYPE(name) ((enum xrt_input_type)(name & XRT_INPUT_TYPE_BITMASK))
875#define XRT_GET_INPUT_ID(name) ((uint32_t)(name >> XRT_INPUT_TYPE_BITWIDTH))
878#define XRT_INPUT_LIST(_) \
880 _(XRT_INPUT_GENERIC_HEAD_POSE , XRT_INPUT_NAME(0x0000, POSE)) \
881 _(XRT_INPUT_GENERIC_HEAD_DETECT , XRT_INPUT_NAME(0x0001, BOOLEAN)) \
882 _(XRT_INPUT_GENERIC_HAND_TRACKING_LEFT , XRT_INPUT_NAME(0x0002, HAND_TRACKING)) \
883 _(XRT_INPUT_GENERIC_HAND_TRACKING_RIGHT , XRT_INPUT_NAME(0x0004, HAND_TRACKING)) \
884 _(XRT_INPUT_GENERIC_TRACKER_POSE , XRT_INPUT_NAME(0x0005, POSE)) \
886 _(XRT_INPUT_GENERIC_PALM_POSE , XRT_INPUT_NAME(0x0006, POSE)) \
889 _(XRT_INPUT_GENERIC_EYE_GAZE_POSE , XRT_INPUT_NAME(0x0007, POSE)) \
891 _(XRT_INPUT_GENERIC_LOCAL_SPACE_POSE , XRT_INPUT_NAME(0x0008, POSE)) \
892 _(XRT_INPUT_GENERIC_LOCAL_FLOOR_SPACE_POSE , XRT_INPUT_NAME(0x0009, POSE)) \
893 _(XRT_INPUT_GENERIC_STAGE_SPACE_POSE , XRT_INPUT_NAME(0x000A, POSE)) \
894 _(XRT_INPUT_GENERIC_UNBOUNDED_SPACE_POSE , XRT_INPUT_NAME(0x000B, POSE)) \
896 _(XRT_INPUT_SIMPLE_SELECT_CLICK , XRT_INPUT_NAME(0x0010, BOOLEAN)) \
897 _(XRT_INPUT_SIMPLE_MENU_CLICK , XRT_INPUT_NAME(0x0011, BOOLEAN)) \
898 _(XRT_INPUT_SIMPLE_GRIP_POSE , XRT_INPUT_NAME(0x0012, POSE)) \
899 _(XRT_INPUT_SIMPLE_AIM_POSE , XRT_INPUT_NAME(0x0013, POSE)) \
901 _(XRT_INPUT_PSMV_PS_CLICK , XRT_INPUT_NAME(0x0020, BOOLEAN)) \
902 _(XRT_INPUT_PSMV_MOVE_CLICK , XRT_INPUT_NAME(0x0021, BOOLEAN)) \
903 _(XRT_INPUT_PSMV_START_CLICK , XRT_INPUT_NAME(0x0022, BOOLEAN)) \
904 _(XRT_INPUT_PSMV_SELECT_CLICK , XRT_INPUT_NAME(0x0023, BOOLEAN)) \
905 _(XRT_INPUT_PSMV_SQUARE_CLICK , XRT_INPUT_NAME(0x0024, BOOLEAN)) \
906 _(XRT_INPUT_PSMV_CROSS_CLICK , XRT_INPUT_NAME(0x0025, BOOLEAN)) \
907 _(XRT_INPUT_PSMV_CIRCLE_CLICK , XRT_INPUT_NAME(0x0026, BOOLEAN)) \
908 _(XRT_INPUT_PSMV_TRIANGLE_CLICK , XRT_INPUT_NAME(0x0027, BOOLEAN)) \
909 _(XRT_INPUT_PSMV_TRIGGER_VALUE , XRT_INPUT_NAME(0x0028, VEC1_ZERO_TO_ONE)) \
910 _(XRT_INPUT_PSMV_GRIP_POSE , XRT_INPUT_NAME(0x0029, POSE)) \
911 _(XRT_INPUT_PSMV_AIM_POSE , XRT_INPUT_NAME(0x002A, POSE)) \
912 _(XRT_INPUT_PSMV_BODY_CENTER_POSE , XRT_INPUT_NAME(0x002B, POSE)) \
913 _(XRT_INPUT_PSMV_BALL_CENTER_POSE , XRT_INPUT_NAME(0x002C, POSE)) \
915 _(XRT_INPUT_HYDRA_1_CLICK , XRT_INPUT_NAME(0x0030, BOOLEAN)) \
916 _(XRT_INPUT_HYDRA_2_CLICK , XRT_INPUT_NAME(0x0031, BOOLEAN)) \
917 _(XRT_INPUT_HYDRA_3_CLICK , XRT_INPUT_NAME(0x0032, BOOLEAN)) \
918 _(XRT_INPUT_HYDRA_4_CLICK , XRT_INPUT_NAME(0x0033, BOOLEAN)) \
919 _(XRT_INPUT_HYDRA_MIDDLE_CLICK , XRT_INPUT_NAME(0x0034, BOOLEAN)) \
920 _(XRT_INPUT_HYDRA_BUMPER_CLICK , XRT_INPUT_NAME(0x0035, BOOLEAN)) \
921 _(XRT_INPUT_HYDRA_JOYSTICK_CLICK , XRT_INPUT_NAME(0x0036, BOOLEAN)) \
922 _(XRT_INPUT_HYDRA_JOYSTICK_VALUE , XRT_INPUT_NAME(0x0037, VEC2_MINUS_ONE_TO_ONE)) \
923 _(XRT_INPUT_HYDRA_TRIGGER_VALUE , XRT_INPUT_NAME(0x0038, VEC1_ZERO_TO_ONE)) \
924 _(XRT_INPUT_HYDRA_POSE , XRT_INPUT_NAME(0x0039, POSE)) \
926 _(XRT_INPUT_DAYDREAM_TOUCHPAD_CLICK , XRT_INPUT_NAME(0x0040, BOOLEAN)) \
927 _(XRT_INPUT_DAYDREAM_BAR_CLICK , XRT_INPUT_NAME(0x0041, BOOLEAN)) \
928 _(XRT_INPUT_DAYDREAM_CIRCLE_CLICK , XRT_INPUT_NAME(0x0042, BOOLEAN)) \
929 _(XRT_INPUT_DAYDREAM_VOLUP_CLICK , XRT_INPUT_NAME(0x0043, BOOLEAN)) \
930 _(XRT_INPUT_DAYDREAM_VOLDN_CLICK , XRT_INPUT_NAME(0x0044, BOOLEAN)) \
931 _(XRT_INPUT_DAYDREAM_TOUCHPAD , XRT_INPUT_NAME(0x0045, VEC2_MINUS_ONE_TO_ONE)) \
932 _(XRT_INPUT_DAYDREAM_POSE , XRT_INPUT_NAME(0x0046, POSE)) \
933 _(XRT_INPUT_DAYDREAM_TOUCHPAD_TOUCH , XRT_INPUT_NAME(0x0047, BOOLEAN)) \
935 _(XRT_INPUT_INDEX_SYSTEM_CLICK , XRT_INPUT_NAME(0x0050, BOOLEAN)) \
936 _(XRT_INPUT_INDEX_SYSTEM_TOUCH , XRT_INPUT_NAME(0x0051, BOOLEAN)) \
937 _(XRT_INPUT_INDEX_A_CLICK , XRT_INPUT_NAME(0x0052, BOOLEAN)) \
938 _(XRT_INPUT_INDEX_A_TOUCH , XRT_INPUT_NAME(0x0053, BOOLEAN)) \
939 _(XRT_INPUT_INDEX_B_CLICK , XRT_INPUT_NAME(0x0054, BOOLEAN)) \
940 _(XRT_INPUT_INDEX_B_TOUCH , XRT_INPUT_NAME(0x0055, BOOLEAN)) \
941 _(XRT_INPUT_INDEX_SQUEEZE_VALUE , XRT_INPUT_NAME(0x0056, VEC1_ZERO_TO_ONE)) \
942 _(XRT_INPUT_INDEX_SQUEEZE_FORCE , XRT_INPUT_NAME(0x0057, VEC1_ZERO_TO_ONE)) \
943 _(XRT_INPUT_INDEX_TRIGGER_CLICK , XRT_INPUT_NAME(0x0058, BOOLEAN)) \
944 _(XRT_INPUT_INDEX_TRIGGER_VALUE , XRT_INPUT_NAME(0x0059, VEC1_ZERO_TO_ONE)) \
945 _(XRT_INPUT_INDEX_TRIGGER_TOUCH , XRT_INPUT_NAME(0x005A, BOOLEAN)) \
946 _(XRT_INPUT_INDEX_THUMBSTICK , XRT_INPUT_NAME(0x005B, VEC2_MINUS_ONE_TO_ONE)) \
947 _(XRT_INPUT_INDEX_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x005D, BOOLEAN)) \
948 _(XRT_INPUT_INDEX_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x005E, BOOLEAN)) \
949 _(XRT_INPUT_INDEX_TRACKPAD , XRT_INPUT_NAME(0x005F, VEC2_MINUS_ONE_TO_ONE)) \
950 _(XRT_INPUT_INDEX_TRACKPAD_FORCE , XRT_INPUT_NAME(0x0061, VEC1_ZERO_TO_ONE)) \
951 _(XRT_INPUT_INDEX_TRACKPAD_TOUCH , XRT_INPUT_NAME(0x0062, BOOLEAN)) \
952 _(XRT_INPUT_INDEX_GRIP_POSE , XRT_INPUT_NAME(0x0063, POSE)) \
953 _(XRT_INPUT_INDEX_AIM_POSE , XRT_INPUT_NAME(0x0064, POSE)) \
955 _(XRT_INPUT_VIVE_SYSTEM_CLICK , XRT_INPUT_NAME(0x0070, BOOLEAN)) \
956 _(XRT_INPUT_VIVE_SQUEEZE_CLICK , XRT_INPUT_NAME(0x0071, BOOLEAN)) \
957 _(XRT_INPUT_VIVE_MENU_CLICK , XRT_INPUT_NAME(0x0072, BOOLEAN)) \
958 _(XRT_INPUT_VIVE_TRIGGER_CLICK , XRT_INPUT_NAME(0x0073, BOOLEAN)) \
959 _(XRT_INPUT_VIVE_TRIGGER_VALUE , XRT_INPUT_NAME(0x0074, VEC1_ZERO_TO_ONE)) \
960 _(XRT_INPUT_VIVE_TRACKPAD , XRT_INPUT_NAME(0x0075, VEC2_MINUS_ONE_TO_ONE)) \
961 _(XRT_INPUT_VIVE_TRACKPAD_CLICK , XRT_INPUT_NAME(0x0076, BOOLEAN)) \
962 _(XRT_INPUT_VIVE_TRACKPAD_TOUCH , XRT_INPUT_NAME(0x0077, BOOLEAN)) \
963 _(XRT_INPUT_VIVE_GRIP_POSE , XRT_INPUT_NAME(0x0078, POSE)) \
964 _(XRT_INPUT_VIVE_AIM_POSE , XRT_INPUT_NAME(0x0079, POSE)) \
966 _(XRT_INPUT_VIVEPRO_SYSTEM_CLICK , XRT_INPUT_NAME(0x0080, BOOLEAN)) \
967 _(XRT_INPUT_VIVEPRO_VOLUP_CLICK , XRT_INPUT_NAME(0x0081, BOOLEAN)) \
968 _(XRT_INPUT_VIVEPRO_VOLDN_CLICK , XRT_INPUT_NAME(0x0082, BOOLEAN)) \
969 _(XRT_INPUT_VIVEPRO_MUTE_MIC_CLICK , XRT_INPUT_NAME(0x0083, BOOLEAN)) \
971 _(XRT_INPUT_WMR_MENU_CLICK , XRT_INPUT_NAME(0x0090, BOOLEAN)) \
972 _(XRT_INPUT_WMR_SQUEEZE_CLICK , XRT_INPUT_NAME(0x0091, BOOLEAN)) \
973 _(XRT_INPUT_WMR_TRIGGER_VALUE , XRT_INPUT_NAME(0x0092, VEC1_ZERO_TO_ONE)) \
974 _(XRT_INPUT_WMR_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0093, BOOLEAN)) \
975 _(XRT_INPUT_WMR_THUMBSTICK , XRT_INPUT_NAME(0x0094, VEC2_MINUS_ONE_TO_ONE)) \
976 _(XRT_INPUT_WMR_TRACKPAD_CLICK , XRT_INPUT_NAME(0x0095, BOOLEAN)) \
977 _(XRT_INPUT_WMR_TRACKPAD_TOUCH , XRT_INPUT_NAME(0x0096, BOOLEAN)) \
978 _(XRT_INPUT_WMR_TRACKPAD , XRT_INPUT_NAME(0x0097, VEC2_MINUS_ONE_TO_ONE)) \
979 _(XRT_INPUT_WMR_GRIP_POSE , XRT_INPUT_NAME(0x0098, POSE)) \
980 _(XRT_INPUT_WMR_AIM_POSE , XRT_INPUT_NAME(0x0099, POSE)) \
981 _(XRT_INPUT_WMR_HOME_CLICK , XRT_INPUT_NAME(0x009A, BOOLEAN)) \
983 _(XRT_INPUT_XBOX_MENU_CLICK , XRT_INPUT_NAME(0x00A0, BOOLEAN)) \
984 _(XRT_INPUT_XBOX_VIEW_CLICK , XRT_INPUT_NAME(0x00A1, BOOLEAN)) \
985 _(XRT_INPUT_XBOX_A_CLICK , XRT_INPUT_NAME(0x00A2, BOOLEAN)) \
986 _(XRT_INPUT_XBOX_B_CLICK , XRT_INPUT_NAME(0x00A3, BOOLEAN)) \
987 _(XRT_INPUT_XBOX_X_CLICK , XRT_INPUT_NAME(0x00A4, BOOLEAN)) \
988 _(XRT_INPUT_XBOX_Y_CLICK , XRT_INPUT_NAME(0x00A5, BOOLEAN)) \
989 _(XRT_INPUT_XBOX_DPAD_DOWN_CLICK , XRT_INPUT_NAME(0x00A6, BOOLEAN)) \
990 _(XRT_INPUT_XBOX_DPAD_RIGHT_CLICK , XRT_INPUT_NAME(0x00A7, BOOLEAN)) \
991 _(XRT_INPUT_XBOX_DPAD_UP_CLICK , XRT_INPUT_NAME(0x00A8, BOOLEAN)) \
992 _(XRT_INPUT_XBOX_DPAD_LEFT_CLICK , XRT_INPUT_NAME(0x00A9, BOOLEAN)) \
993 _(XRT_INPUT_XBOX_SHOULDER_LEFT_CLICK , XRT_INPUT_NAME(0x00AA, BOOLEAN)) \
994 _(XRT_INPUT_XBOX_SHOULDER_RIGHT_CLICK , XRT_INPUT_NAME(0x00AB, BOOLEAN)) \
995 _(XRT_INPUT_XBOX_THUMBSTICK_LEFT_CLICK , XRT_INPUT_NAME(0x00AC, BOOLEAN)) \
996 _(XRT_INPUT_XBOX_THUMBSTICK_LEFT , XRT_INPUT_NAME(0x00AD, VEC2_MINUS_ONE_TO_ONE)) \
997 _(XRT_INPUT_XBOX_THUMBSTICK_RIGHT_CLICK , XRT_INPUT_NAME(0x00AE, BOOLEAN)) \
998 _(XRT_INPUT_XBOX_THUMBSTICK_RIGHT , XRT_INPUT_NAME(0x00AF, VEC2_MINUS_ONE_TO_ONE)) \
999 _(XRT_INPUT_XBOX_LEFT_TRIGGER_VALUE , XRT_INPUT_NAME(0x00B0, VEC1_ZERO_TO_ONE)) \
1000 _(XRT_INPUT_XBOX_RIGHT_TRIGGER_VALUE , XRT_INPUT_NAME(0x00B1, VEC1_ZERO_TO_ONE)) \
1002 _(XRT_INPUT_GO_SYSTEM_CLICK , XRT_INPUT_NAME(0x00B0, BOOLEAN)) \
1003 _(XRT_INPUT_GO_TRIGGER_CLICK , XRT_INPUT_NAME(0x00B1, BOOLEAN)) \
1004 _(XRT_INPUT_GO_BACK_CLICK , XRT_INPUT_NAME(0x00B2, BOOLEAN)) \
1005 _(XRT_INPUT_GO_TRACKPAD_CLICK , XRT_INPUT_NAME(0x00B3, BOOLEAN)) \
1006 _(XRT_INPUT_GO_TRACKPAD_TOUCH , XRT_INPUT_NAME(0x00B4, BOOLEAN)) \
1007 _(XRT_INPUT_GO_TRACKPAD , XRT_INPUT_NAME(0x00B5, VEC2_MINUS_ONE_TO_ONE)) \
1008 _(XRT_INPUT_GO_GRIP_POSE , XRT_INPUT_NAME(0x00B6, POSE)) \
1009 _(XRT_INPUT_GO_AIM_POSE , XRT_INPUT_NAME(0x00B7, POSE)) \
1011 _(XRT_INPUT_TOUCH_X_CLICK , XRT_INPUT_NAME(0x00C0, BOOLEAN)) \
1012 _(XRT_INPUT_TOUCH_X_TOUCH , XRT_INPUT_NAME(0x00C1, BOOLEAN)) \
1013 _(XRT_INPUT_TOUCH_Y_CLICK , XRT_INPUT_NAME(0x00C2, BOOLEAN)) \
1014 _(XRT_INPUT_TOUCH_Y_TOUCH , XRT_INPUT_NAME(0x00C3, BOOLEAN)) \
1015 _(XRT_INPUT_TOUCH_MENU_CLICK , XRT_INPUT_NAME(0x00C4, BOOLEAN)) \
1016 _(XRT_INPUT_TOUCH_A_CLICK , XRT_INPUT_NAME(0x00C5, BOOLEAN)) \
1017 _(XRT_INPUT_TOUCH_A_TOUCH , XRT_INPUT_NAME(0x00C6, BOOLEAN)) \
1018 _(XRT_INPUT_TOUCH_B_CLICK , XRT_INPUT_NAME(0x00C7, BOOLEAN)) \
1019 _(XRT_INPUT_TOUCH_B_TOUCH , XRT_INPUT_NAME(0x00C8, BOOLEAN)) \
1020 _(XRT_INPUT_TOUCH_SYSTEM_CLICK , XRT_INPUT_NAME(0x00C9, BOOLEAN)) \
1021 _(XRT_INPUT_TOUCH_SQUEEZE_VALUE , XRT_INPUT_NAME(0x00CA, VEC1_ZERO_TO_ONE)) \
1022 _(XRT_INPUT_TOUCH_TRIGGER_TOUCH , XRT_INPUT_NAME(0x00CB, BOOLEAN)) \
1023 _(XRT_INPUT_TOUCH_TRIGGER_VALUE , XRT_INPUT_NAME(0x00CC, VEC1_ZERO_TO_ONE)) \
1024 _(XRT_INPUT_TOUCH_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x00CD, BOOLEAN)) \
1025 _(XRT_INPUT_TOUCH_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x00CE, BOOLEAN)) \
1026 _(XRT_INPUT_TOUCH_THUMBSTICK , XRT_INPUT_NAME(0x00CF, VEC2_MINUS_ONE_TO_ONE)) \
1027 _(XRT_INPUT_TOUCH_THUMBREST_TOUCH , XRT_INPUT_NAME(0x00D0, BOOLEAN)) \
1028 _(XRT_INPUT_TOUCH_GRIP_POSE , XRT_INPUT_NAME(0x00D1, POSE)) \
1029 _(XRT_INPUT_TOUCH_AIM_POSE , XRT_INPUT_NAME(0x00D2, POSE)) \
1030 _(XRT_INPUT_TOUCH_TRIGGER_PROXIMITY , XRT_INPUT_NAME(0x00D3, BOOLEAN)) \
1031 _(XRT_INPUT_TOUCH_THUMB_PROXIMITY , XRT_INPUT_NAME(0x00D4, BOOLEAN)) \
1033 _(XRT_INPUT_HAND_SELECT_VALUE , XRT_INPUT_NAME(0x00E0, VEC1_ZERO_TO_ONE)) \
1034 _(XRT_INPUT_HAND_SQUEEZE_VALUE , XRT_INPUT_NAME(0x00E1, VEC1_ZERO_TO_ONE)) \
1035 _(XRT_INPUT_HAND_GRIP_POSE , XRT_INPUT_NAME(0x00E2, POSE)) \
1036 _(XRT_INPUT_HAND_AIM_POSE , XRT_INPUT_NAME(0x00E3, POSE)) \
1038 _(XRT_INPUT_G2_CONTROLLER_X_CLICK , XRT_INPUT_NAME(0x00F0, BOOLEAN)) \
1039 _(XRT_INPUT_G2_CONTROLLER_Y_CLICK , XRT_INPUT_NAME(0x00F1, BOOLEAN)) \
1040 _(XRT_INPUT_G2_CONTROLLER_A_CLICK , XRT_INPUT_NAME(0x00F2, BOOLEAN)) \
1041 _(XRT_INPUT_G2_CONTROLLER_B_CLICK , XRT_INPUT_NAME(0x00F3, BOOLEAN)) \
1042 _(XRT_INPUT_G2_CONTROLLER_MENU_CLICK , XRT_INPUT_NAME(0x00F4, BOOLEAN)) \
1043 _(XRT_INPUT_G2_CONTROLLER_SQUEEZE_VALUE , XRT_INPUT_NAME(0x00F5, VEC1_ZERO_TO_ONE)) \
1044 _(XRT_INPUT_G2_CONTROLLER_TRIGGER_VALUE , XRT_INPUT_NAME(0x00F6, VEC1_ZERO_TO_ONE)) \
1045 _(XRT_INPUT_G2_CONTROLLER_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x00F7, BOOLEAN)) \
1046 _(XRT_INPUT_G2_CONTROLLER_THUMBSTICK , XRT_INPUT_NAME(0x00F8, VEC2_MINUS_ONE_TO_ONE)) \
1047 _(XRT_INPUT_G2_CONTROLLER_GRIP_POSE , XRT_INPUT_NAME(0x00F9, POSE)) \
1048 _(XRT_INPUT_G2_CONTROLLER_AIM_POSE , XRT_INPUT_NAME(0x00FA, POSE)) \
1049 _(XRT_INPUT_G2_CONTROLLER_HOME_CLICK , XRT_INPUT_NAME(0x00FB, BOOLEAN)) \
1050 _(XRT_INPUT_G2_CONTROLLER_SQUEEZE_CLICK , XRT_INPUT_NAME(0x00FC, BOOLEAN)) \
1052 _(XRT_INPUT_ODYSSEY_CONTROLLER_MENU_CLICK , XRT_INPUT_NAME(0x0100, BOOLEAN)) \
1053 _(XRT_INPUT_ODYSSEY_CONTROLLER_SQUEEZE_CLICK , XRT_INPUT_NAME(0x0101, BOOLEAN)) \
1054 _(XRT_INPUT_ODYSSEY_CONTROLLER_TRIGGER_VALUE , XRT_INPUT_NAME(0x0102, VEC1_ZERO_TO_ONE)) \
1055 _(XRT_INPUT_ODYSSEY_CONTROLLER_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0103, BOOLEAN)) \
1056 _(XRT_INPUT_ODYSSEY_CONTROLLER_THUMBSTICK , XRT_INPUT_NAME(0x0104, VEC2_MINUS_ONE_TO_ONE)) \
1057 _(XRT_INPUT_ODYSSEY_CONTROLLER_TRACKPAD_CLICK , XRT_INPUT_NAME(0x0105, BOOLEAN)) \
1058 _(XRT_INPUT_ODYSSEY_CONTROLLER_TRACKPAD_TOUCH , XRT_INPUT_NAME(0x0106, BOOLEAN)) \
1059 _(XRT_INPUT_ODYSSEY_CONTROLLER_TRACKPAD , XRT_INPUT_NAME(0x0107, VEC2_MINUS_ONE_TO_ONE)) \
1060 _(XRT_INPUT_ODYSSEY_CONTROLLER_GRIP_POSE , XRT_INPUT_NAME(0x0108, POSE)) \
1061 _(XRT_INPUT_ODYSSEY_CONTROLLER_AIM_POSE , XRT_INPUT_NAME(0x0109, POSE)) \
1062 _(XRT_INPUT_ODYSSEY_CONTROLLER_HOME_CLICK , XRT_INPUT_NAME(0x010A, BOOLEAN)) \
1064 _(XRT_INPUT_ML2_CONTROLLER_MENU_CLICK , XRT_INPUT_NAME(0x0200, BOOLEAN)) \
1065 _(XRT_INPUT_ML2_CONTROLLER_SELECT_CLICK , XRT_INPUT_NAME(0x0201, BOOLEAN)) \
1066 _(XRT_INPUT_ML2_CONTROLLER_TRIGGER_CLICK , XRT_INPUT_NAME(0x0202, BOOLEAN)) \
1067 _(XRT_INPUT_ML2_CONTROLLER_TRIGGER_VALUE , XRT_INPUT_NAME(0x0203, VEC1_ZERO_TO_ONE)) \
1068 _(XRT_INPUT_ML2_CONTROLLER_TRACKPAD_CLICK , XRT_INPUT_NAME(0x0204, BOOLEAN)) \
1069 _(XRT_INPUT_ML2_CONTROLLER_TRACKPAD_TOUCH , XRT_INPUT_NAME(0x0205, BOOLEAN)) \
1070 _(XRT_INPUT_ML2_CONTROLLER_TRACKPAD_FORCE , XRT_INPUT_NAME(0x0206, VEC1_ZERO_TO_ONE)) \
1071 _(XRT_INPUT_ML2_CONTROLLER_TRACKPAD , XRT_INPUT_NAME(0x0207, VEC2_MINUS_ONE_TO_ONE)) \
1072 _(XRT_INPUT_ML2_CONTROLLER_GRIP_POSE , XRT_INPUT_NAME(0x0208, POSE)) \
1073 _(XRT_INPUT_ML2_CONTROLLER_AIM_POSE , XRT_INPUT_NAME(0x0209, POSE)) \
1074 _(XRT_INPUT_ML2_CONTROLLER_SHOULDER_CLICK , XRT_INPUT_NAME(0x020A, BOOLEAN)) \
1076 _(XRT_INPUT_VIVE_TRACKER_SYSTEM_CLICK , XRT_INPUT_NAME(0x0210, BOOLEAN)) \
1077 _(XRT_INPUT_VIVE_TRACKER_MENU_CLICK , XRT_INPUT_NAME(0x0211, BOOLEAN)) \
1078 _(XRT_INPUT_VIVE_TRACKER_TRIGGER_CLICK , XRT_INPUT_NAME(0x0212, BOOLEAN)) \
1079 _(XRT_INPUT_VIVE_TRACKER_SQUEEZE_CLICK , XRT_INPUT_NAME(0x0213, BOOLEAN)) \
1080 _(XRT_INPUT_VIVE_TRACKER_TRIGGER_VALUE , XRT_INPUT_NAME(0x0214, VEC1_ZERO_TO_ONE)) \
1081 _(XRT_INPUT_VIVE_TRACKER_TRACKPAD , XRT_INPUT_NAME(0x0215, VEC2_MINUS_ONE_TO_ONE)) \
1082 _(XRT_INPUT_VIVE_TRACKER_TRACKPAD_CLICK , XRT_INPUT_NAME(0x0216, BOOLEAN)) \
1083 _(XRT_INPUT_VIVE_TRACKER_TRACKPAD_TOUCH , XRT_INPUT_NAME(0x0217, BOOLEAN)) \
1084 _(XRT_INPUT_VIVE_TRACKER_GRIP_POSE , XRT_INPUT_NAME(0x0218, POSE)) \
1086 _(XRT_INPUT_PSSENSE_PS_CLICK , XRT_INPUT_NAME(0x0300, BOOLEAN)) \
1087 _(XRT_INPUT_PSSENSE_SHARE_CLICK , XRT_INPUT_NAME(0x0301, BOOLEAN)) \
1088 _(XRT_INPUT_PSSENSE_OPTIONS_CLICK , XRT_INPUT_NAME(0x0302, BOOLEAN)) \
1089 _(XRT_INPUT_PSSENSE_SQUARE_CLICK , XRT_INPUT_NAME(0x0303, BOOLEAN)) \
1090 _(XRT_INPUT_PSSENSE_SQUARE_TOUCH , XRT_INPUT_NAME(0x0304, BOOLEAN)) \
1091 _(XRT_INPUT_PSSENSE_TRIANGLE_CLICK , XRT_INPUT_NAME(0x0305, BOOLEAN)) \
1092 _(XRT_INPUT_PSSENSE_TRIANGLE_TOUCH , XRT_INPUT_NAME(0x0306, BOOLEAN)) \
1093 _(XRT_INPUT_PSSENSE_CROSS_CLICK , XRT_INPUT_NAME(0x0307, BOOLEAN)) \
1094 _(XRT_INPUT_PSSENSE_CROSS_TOUCH , XRT_INPUT_NAME(0x0308, BOOLEAN)) \
1095 _(XRT_INPUT_PSSENSE_CIRCLE_CLICK , XRT_INPUT_NAME(0x0309, BOOLEAN)) \
1096 _(XRT_INPUT_PSSENSE_CIRCLE_TOUCH , XRT_INPUT_NAME(0x030a, BOOLEAN)) \
1097 _(XRT_INPUT_PSSENSE_SQUEEZE_CLICK , XRT_INPUT_NAME(0x030b, BOOLEAN)) \
1098 _(XRT_INPUT_PSSENSE_SQUEEZE_TOUCH , XRT_INPUT_NAME(0x030c, BOOLEAN)) \
1099 _(XRT_INPUT_PSSENSE_SQUEEZE_PROXIMITY , XRT_INPUT_NAME(0x030d, VEC1_ZERO_TO_ONE)) \
1100 _(XRT_INPUT_PSSENSE_TRIGGER_CLICK , XRT_INPUT_NAME(0x030e, BOOLEAN)) \
1101 _(XRT_INPUT_PSSENSE_TRIGGER_TOUCH , XRT_INPUT_NAME(0x030f, BOOLEAN)) \
1102 _(XRT_INPUT_PSSENSE_TRIGGER_VALUE , XRT_INPUT_NAME(0x0310, VEC1_ZERO_TO_ONE)) \
1103 _(XRT_INPUT_PSSENSE_TRIGGER_PROXIMITY , XRT_INPUT_NAME(0x0311, VEC1_ZERO_TO_ONE)) \
1104 _(XRT_INPUT_PSSENSE_THUMBSTICK , XRT_INPUT_NAME(0x0312, VEC2_MINUS_ONE_TO_ONE)) \
1105 _(XRT_INPUT_PSSENSE_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0313, BOOLEAN)) \
1106 _(XRT_INPUT_PSSENSE_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x0314, BOOLEAN)) \
1107 _(XRT_INPUT_PSSENSE_GRIP_POSE , XRT_INPUT_NAME(0x0315, POSE)) \
1108 _(XRT_INPUT_PSSENSE_AIM_POSE , XRT_INPUT_NAME(0x0316, POSE)) \
1111 _(XRT_INPUT_HAND_PINCH_POSE , XRT_INPUT_NAME(0x0401, POSE)) \
1112 _(XRT_INPUT_HAND_POKE_POSE , XRT_INPUT_NAME(0x0402, POSE)) \
1113 _(XRT_INPUT_HAND_PINCH_VALUE , XRT_INPUT_NAME(0x0403, VEC1_ZERO_TO_ONE)) \
1114 _(XRT_INPUT_HAND_AIM_ACTIVATE_VALUE , XRT_INPUT_NAME(0x0404, VEC1_ZERO_TO_ONE)) \
1115 _(XRT_INPUT_HAND_GRASP_VALUE , XRT_INPUT_NAME(0x0405, VEC1_ZERO_TO_ONE)) \
1116 _(XRT_INPUT_HAND_PINCH_READY , XRT_INPUT_NAME(0x0406, BOOLEAN)) \
1117 _(XRT_INPUT_HAND_AIM_ACTIVATE_READY , XRT_INPUT_NAME(0x0407, BOOLEAN)) \
1118 _(XRT_INPUT_HAND_GRASP_READY , XRT_INPUT_NAME(0x0408, BOOLEAN)) \
1120 _(XRT_INPUT_OPPO_MR_X_CLICK , XRT_INPUT_NAME(0x0500, BOOLEAN)) \
1121 _(XRT_INPUT_OPPO_MR_X_TOUCH , XRT_INPUT_NAME(0x0501, BOOLEAN)) \
1122 _(XRT_INPUT_OPPO_MR_Y_CLICK , XRT_INPUT_NAME(0x0502, BOOLEAN)) \
1123 _(XRT_INPUT_OPPO_MR_Y_TOUCH , XRT_INPUT_NAME(0x0503, BOOLEAN)) \
1124 _(XRT_INPUT_OPPO_MR_MENU_CLICK , XRT_INPUT_NAME(0x0504, BOOLEAN)) \
1125 _(XRT_INPUT_OPPO_MR_HEART_RATE_VALUE , XRT_INPUT_NAME(0x0505, VEC1_ZERO_TO_ONE)) \
1126 _(XRT_INPUT_OPPO_MR_A_CLICK , XRT_INPUT_NAME(0x0506, BOOLEAN)) \
1127 _(XRT_INPUT_OPPO_MR_A_TOUCH , XRT_INPUT_NAME(0x0507, BOOLEAN)) \
1128 _(XRT_INPUT_OPPO_MR_B_CLICK , XRT_INPUT_NAME(0x0508, BOOLEAN)) \
1129 _(XRT_INPUT_OPPO_MR_B_TOUCH , XRT_INPUT_NAME(0x0509, BOOLEAN)) \
1130 _(XRT_INPUT_OPPO_MR_HOME_CLICK , XRT_INPUT_NAME(0x050A, BOOLEAN)) \
1131 _(XRT_INPUT_OPPO_MR_SQUEEZE_VALUE , XRT_INPUT_NAME(0x050B, VEC1_ZERO_TO_ONE)) \
1132 _(XRT_INPUT_OPPO_MR_TRIGGER_TOUCH , XRT_INPUT_NAME(0x050C, BOOLEAN)) \
1133 _(XRT_INPUT_OPPO_MR_TRIGGER_VALUE , XRT_INPUT_NAME(0x050D, VEC1_ZERO_TO_ONE)) \
1134 _(XRT_INPUT_OPPO_MR_GRIP_POSE , XRT_INPUT_NAME(0x050E, POSE)) \
1135 _(XRT_INPUT_OPPO_MR_AIM_POSE , XRT_INPUT_NAME(0x050F, POSE)) \
1136 _(XRT_INPUT_OPPO_MR_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0510, BOOLEAN)) \
1137 _(XRT_INPUT_OPPO_MR_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x0511, BOOLEAN)) \
1138 _(XRT_INPUT_OPPO_MR_THUMBSTICK , XRT_INPUT_NAME(0x0512, VEC2_MINUS_ONE_TO_ONE)) \
1140 _(XRT_INPUT_GENERIC_FACE_TRACKING , XRT_INPUT_NAME(0x0600, FACE_TRACKING)) \
1142 _(XRT_INPUT_HTC_EYE_FACE_TRACKING , XRT_INPUT_NAME(0x0601, FACE_TRACKING)) \
1143 _(XRT_INPUT_HTC_LIP_FACE_TRACKING , XRT_INPUT_NAME(0x0602, FACE_TRACKING)) \
1144 _(XRT_INPUT_FB_FACE_TRACKING2_AUDIO , XRT_INPUT_NAME(0x0603, FACE_TRACKING)) \
1145 _(XRT_INPUT_FB_FACE_TRACKING2_VISUAL , XRT_INPUT_NAME(0x0604, FACE_TRACKING)) \
1147 _(XRT_INPUT_GENERIC_BODY_TRACKING , XRT_INPUT_NAME(0x0700, BODY_TRACKING)) \
1148 _(XRT_INPUT_FB_BODY_TRACKING , XRT_INPUT_NAME(0x0701, BODY_TRACKING)) \
1150 _(XRT_INPUT_PICO_NEO3_X_CLICK , XRT_INPUT_NAME(0x0800, BOOLEAN)) \
1151 _(XRT_INPUT_PICO_NEO3_X_TOUCH , XRT_INPUT_NAME(0x0801, BOOLEAN)) \
1152 _(XRT_INPUT_PICO_NEO3_Y_CLICK , XRT_INPUT_NAME(0x0802, BOOLEAN)) \
1153 _(XRT_INPUT_PICO_NEO3_Y_TOUCH , XRT_INPUT_NAME(0x0803, BOOLEAN)) \
1154 _(XRT_INPUT_PICO_NEO3_MENU_CLICK , XRT_INPUT_NAME(0x0804, BOOLEAN)) \
1155 _(XRT_INPUT_PICO_NEO3_SYSTEM_CLICK , XRT_INPUT_NAME(0x0805, BOOLEAN)) \
1156 _(XRT_INPUT_PICO_NEO3_TRIGGER_CLICK , XRT_INPUT_NAME(0x0806, BOOLEAN)) \
1157 _(XRT_INPUT_PICO_NEO3_TRIGGER_VALUE , XRT_INPUT_NAME(0x0807, VEC1_ZERO_TO_ONE)) \
1158 _(XRT_INPUT_PICO_NEO3_TRIGGER_TOUCH , XRT_INPUT_NAME(0x0808, BOOLEAN)) \
1159 _(XRT_INPUT_PICO_NEO3_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0809, BOOLEAN)) \
1160 _(XRT_INPUT_PICO_NEO3_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x080A, BOOLEAN)) \
1161 _(XRT_INPUT_PICO_NEO3_THUMBSTICK , XRT_INPUT_NAME(0x080B, VEC2_MINUS_ONE_TO_ONE)) \
1162 _(XRT_INPUT_PICO_NEO3_SQUEEZE_CLICK , XRT_INPUT_NAME(0x080C, BOOLEAN)) \
1163 _(XRT_INPUT_PICO_NEO3_SQUEEZE_VALUE , XRT_INPUT_NAME(0x080D, VEC1_ZERO_TO_ONE)) \
1164 _(XRT_INPUT_PICO_NEO3_GRIP_POSE , XRT_INPUT_NAME(0x080E, POSE)) \
1165 _(XRT_INPUT_PICO_NEO3_AIM_POSE , XRT_INPUT_NAME(0x080F, POSE)) \
1166 _(XRT_INPUT_PICO_NEO3_A_CLICK , XRT_INPUT_NAME(0x0810, BOOLEAN)) \
1167 _(XRT_INPUT_PICO_NEO3_A_TOUCH , XRT_INPUT_NAME(0x0811, BOOLEAN)) \
1168 _(XRT_INPUT_PICO_NEO3_B_CLICK , XRT_INPUT_NAME(0x0812, BOOLEAN)) \
1169 _(XRT_INPUT_PICO_NEO3_B_TOUCH , XRT_INPUT_NAME(0x0813, BOOLEAN)) \
1171 _(XRT_INPUT_PICO4_X_CLICK , XRT_INPUT_NAME(0x0900, BOOLEAN)) \
1172 _(XRT_INPUT_PICO4_X_TOUCH , XRT_INPUT_NAME(0x0901, BOOLEAN)) \
1173 _(XRT_INPUT_PICO4_Y_CLICK , XRT_INPUT_NAME(0x0902, BOOLEAN)) \
1174 _(XRT_INPUT_PICO4_Y_TOUCH , XRT_INPUT_NAME(0x0903, BOOLEAN)) \
1175 _(XRT_INPUT_PICO4_SYSTEM_CLICK , XRT_INPUT_NAME(0x0905, BOOLEAN)) \
1176 _(XRT_INPUT_PICO4_TRIGGER_CLICK , XRT_INPUT_NAME(0x0906, BOOLEAN)) \
1177 _(XRT_INPUT_PICO4_TRIGGER_VALUE , XRT_INPUT_NAME(0x0907, VEC1_ZERO_TO_ONE)) \
1178 _(XRT_INPUT_PICO4_TRIGGER_TOUCH , XRT_INPUT_NAME(0x0908, BOOLEAN)) \
1179 _(XRT_INPUT_PICO4_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0909, BOOLEAN)) \
1180 _(XRT_INPUT_PICO4_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x090A, BOOLEAN)) \
1181 _(XRT_INPUT_PICO4_THUMBSTICK , XRT_INPUT_NAME(0x090B, VEC2_MINUS_ONE_TO_ONE)) \
1182 _(XRT_INPUT_PICO4_SQUEEZE_CLICK , XRT_INPUT_NAME(0x090C, BOOLEAN)) \
1183 _(XRT_INPUT_PICO4_SQUEEZE_VALUE , XRT_INPUT_NAME(0x090D, VEC1_ZERO_TO_ONE)) \
1184 _(XRT_INPUT_PICO4_GRIP_POSE , XRT_INPUT_NAME(0x090E, POSE)) \
1185 _(XRT_INPUT_PICO4_AIM_POSE , XRT_INPUT_NAME(0x090F, POSE)) \
1186 _(XRT_INPUT_PICO4_A_CLICK , XRT_INPUT_NAME(0x0910, BOOLEAN)) \
1187 _(XRT_INPUT_PICO4_A_TOUCH , XRT_INPUT_NAME(0x0911, BOOLEAN)) \
1188 _(XRT_INPUT_PICO4_B_CLICK , XRT_INPUT_NAME(0x0912, BOOLEAN)) \
1189 _(XRT_INPUT_PICO4_B_TOUCH , XRT_INPUT_NAME(0x0913, BOOLEAN)) \
1190 _(XRT_INPUT_PICO4_MENU_CLICK , XRT_INPUT_NAME(0x0914, BOOLEAN)) \
1192 _(XRT_INPUT_PICO_G3_MENU_CLICK , XRT_INPUT_NAME(0x0A01, BOOLEAN)) \
1193 _(XRT_INPUT_PICO_G3_TRIGGER_CLICK , XRT_INPUT_NAME(0x0A02, BOOLEAN)) \
1194 _(XRT_INPUT_PICO_G3_TRIGGER_VALUE , XRT_INPUT_NAME(0x0A03, VEC1_ZERO_TO_ONE)) \
1195 _(XRT_INPUT_PICO_G3_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0A04, BOOLEAN)) \
1196 _(XRT_INPUT_PICO_G3_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x0A05, BOOLEAN)) \
1197 _(XRT_INPUT_PICO_G3_THUMBSTICK , XRT_INPUT_NAME(0x0A06, VEC2_MINUS_ONE_TO_ONE)) \
1198 _(XRT_INPUT_PICO_G3_GRIP_POSE , XRT_INPUT_NAME(0x0A07, POSE)) \
1199 _(XRT_INPUT_PICO_G3_AIM_POSE , XRT_INPUT_NAME(0x0A08, POSE)) \
1201 _(XRT_INPUT_VIVE_COSMOS_X_CLICK , XRT_INPUT_NAME(0x0B00, BOOLEAN)) \
1202 _(XRT_INPUT_VIVE_COSMOS_Y_CLICK , XRT_INPUT_NAME(0x0B01, BOOLEAN)) \
1203 _(XRT_INPUT_VIVE_COSMOS_MENU_CLICK , XRT_INPUT_NAME(0x0B02, BOOLEAN)) \
1204 _(XRT_INPUT_VIVE_COSMOS_A_CLICK , XRT_INPUT_NAME(0x0B03, BOOLEAN)) \
1205 _(XRT_INPUT_VIVE_COSMOS_B_CLICK , XRT_INPUT_NAME(0x0B04, BOOLEAN)) \
1206 _(XRT_INPUT_VIVE_COSMOS_SYSTEM_CLICK , XRT_INPUT_NAME(0x0B05, BOOLEAN)) \
1207 _(XRT_INPUT_VIVE_COSMOS_SHOULDER_CLICK , XRT_INPUT_NAME(0x0B06, BOOLEAN)) \
1208 _(XRT_INPUT_VIVE_COSMOS_SQUEEZE_CLICK , XRT_INPUT_NAME(0x0B07, BOOLEAN)) \
1209 _(XRT_INPUT_VIVE_COSMOS_TRIGGER_CLICK , XRT_INPUT_NAME(0x0B08, BOOLEAN)) \
1210 _(XRT_INPUT_VIVE_COSMOS_TRIGGER_VALUE , XRT_INPUT_NAME(0x0B09, VEC1_ZERO_TO_ONE)) \
1211 _(XRT_INPUT_VIVE_COSMOS_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0B0A, BOOLEAN)) \
1212 _(XRT_INPUT_VIVE_COSMOS_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x0B0B, BOOLEAN)) \
1213 _(XRT_INPUT_VIVE_COSMOS_THUMBSTICK , XRT_INPUT_NAME(0x0B0C, VEC2_MINUS_ONE_TO_ONE)) \
1214 _(XRT_INPUT_VIVE_COSMOS_GRIP_POSE , XRT_INPUT_NAME(0x0B0D, POSE)) \
1215 _(XRT_INPUT_VIVE_COSMOS_AIM_POSE , XRT_INPUT_NAME(0x0B0E, POSE)) \
1217 _(XRT_INPUT_VIVE_FOCUS3_X_CLICK , XRT_INPUT_NAME(0x0C00, BOOLEAN)) \
1218 _(XRT_INPUT_VIVE_FOCUS3_Y_CLICK , XRT_INPUT_NAME(0x0C01, BOOLEAN)) \
1219 _(XRT_INPUT_VIVE_FOCUS3_MENU_CLICK , XRT_INPUT_NAME(0x0C02, BOOLEAN)) \
1220 _(XRT_INPUT_VIVE_FOCUS3_A_CLICK , XRT_INPUT_NAME(0x0C03, BOOLEAN)) \
1221 _(XRT_INPUT_VIVE_FOCUS3_B_CLICK , XRT_INPUT_NAME(0x0C04, BOOLEAN)) \
1222 _(XRT_INPUT_VIVE_FOCUS3_SYSTEM_CLICK , XRT_INPUT_NAME(0x0C05, BOOLEAN)) \
1223 _(XRT_INPUT_VIVE_FOCUS3_SQUEEZE_CLICK , XRT_INPUT_NAME(0x0C06, BOOLEAN)) \
1224 _(XRT_INPUT_VIVE_FOCUS3_SQUEEZE_TOUCH , XRT_INPUT_NAME(0x0C07, BOOLEAN)) \
1225 _(XRT_INPUT_VIVE_FOCUS3_SQUEEZE_VALUE , XRT_INPUT_NAME(0x0C08, VEC1_ZERO_TO_ONE)) \
1226 _(XRT_INPUT_VIVE_FOCUS3_TRIGGER_CLICK , XRT_INPUT_NAME(0x0C09, BOOLEAN)) \
1227 _(XRT_INPUT_VIVE_FOCUS3_TRIGGER_TOUCH , XRT_INPUT_NAME(0x0C0A, BOOLEAN)) \
1228 _(XRT_INPUT_VIVE_FOCUS3_TRIGGER_VALUE , XRT_INPUT_NAME(0x0C0B, VEC1_ZERO_TO_ONE)) \
1229 _(XRT_INPUT_VIVE_FOCUS3_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0C0C, BOOLEAN)) \
1230 _(XRT_INPUT_VIVE_FOCUS3_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x0C0D, BOOLEAN)) \
1231 _(XRT_INPUT_VIVE_FOCUS3_THUMBSTICK , XRT_INPUT_NAME(0x0C0E, VEC2_MINUS_ONE_TO_ONE)) \
1232 _(XRT_INPUT_VIVE_FOCUS3_THUMBREST_TOUCH , XRT_INPUT_NAME(0x0C0F, BOOLEAN)) \
1233 _(XRT_INPUT_VIVE_FOCUS3_GRIP_POSE , XRT_INPUT_NAME(0x0C10, POSE)) \
1234 _(XRT_INPUT_VIVE_FOCUS3_AIM_POSE , XRT_INPUT_NAME(0x0C11, POSE)) \
1236 _(XRT_INPUT_TOUCH_PRO_X_CLICK , XRT_INPUT_NAME(0x0D00, BOOLEAN)) \
1237 _(XRT_INPUT_TOUCH_PRO_X_TOUCH , XRT_INPUT_NAME(0x0D01, BOOLEAN)) \
1238 _(XRT_INPUT_TOUCH_PRO_Y_CLICK , XRT_INPUT_NAME(0x0D02, BOOLEAN)) \
1239 _(XRT_INPUT_TOUCH_PRO_Y_TOUCH , XRT_INPUT_NAME(0x0D03, BOOLEAN)) \
1240 _(XRT_INPUT_TOUCH_PRO_MENU_CLICK , XRT_INPUT_NAME(0x0D04, BOOLEAN)) \
1241 _(XRT_INPUT_TOUCH_PRO_A_CLICK , XRT_INPUT_NAME(0x0D05, BOOLEAN)) \
1242 _(XRT_INPUT_TOUCH_PRO_A_TOUCH , XRT_INPUT_NAME(0x0D06, BOOLEAN)) \
1243 _(XRT_INPUT_TOUCH_PRO_B_CLICK , XRT_INPUT_NAME(0x0D07, BOOLEAN)) \
1244 _(XRT_INPUT_TOUCH_PRO_B_TOUCH , XRT_INPUT_NAME(0x0D08, BOOLEAN)) \
1245 _(XRT_INPUT_TOUCH_PRO_SYSTEM_CLICK , XRT_INPUT_NAME(0x0D09, BOOLEAN)) \
1246 _(XRT_INPUT_TOUCH_PRO_SQUEEZE_VALUE , XRT_INPUT_NAME(0x0D0A, VEC1_ZERO_TO_ONE)) \
1247 _(XRT_INPUT_TOUCH_PRO_TRIGGER_TOUCH , XRT_INPUT_NAME(0x0D0B, BOOLEAN)) \
1248 _(XRT_INPUT_TOUCH_PRO_TRIGGER_VALUE , XRT_INPUT_NAME(0x0D0C, VEC1_ZERO_TO_ONE)) \
1249 _(XRT_INPUT_TOUCH_PRO_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0D0D, BOOLEAN)) \
1250 _(XRT_INPUT_TOUCH_PRO_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x0D0E, BOOLEAN)) \
1251 _(XRT_INPUT_TOUCH_PRO_THUMBSTICK , XRT_INPUT_NAME(0x0D0F, VEC2_MINUS_ONE_TO_ONE)) \
1252 _(XRT_INPUT_TOUCH_PRO_THUMBREST_TOUCH , XRT_INPUT_NAME(0x0D10, BOOLEAN)) \
1253 _(XRT_INPUT_TOUCH_PRO_THUMBREST_FORCE , XRT_INPUT_NAME(0x0D11, VEC1_ZERO_TO_ONE)) \
1254 _(XRT_INPUT_TOUCH_PRO_GRIP_POSE , XRT_INPUT_NAME(0x0D12, POSE)) \
1255 _(XRT_INPUT_TOUCH_PRO_AIM_POSE , XRT_INPUT_NAME(0x0D13, POSE)) \
1256 _(XRT_INPUT_TOUCH_PRO_TRIGGER_PROXIMITY , XRT_INPUT_NAME(0x0D14, BOOLEAN)) \
1257 _(XRT_INPUT_TOUCH_PRO_THUMB_PROXIMITY , XRT_INPUT_NAME(0x0D15, BOOLEAN)) \
1258 _(XRT_INPUT_TOUCH_PRO_TRIGGER_CURL , XRT_INPUT_NAME(0x0D16, VEC1_ZERO_TO_ONE)) \
1259 _(XRT_INPUT_TOUCH_PRO_TRIGGER_SLIDE , XRT_INPUT_NAME(0x0D17, VEC1_ZERO_TO_ONE)) \
1260 _(XRT_INPUT_TOUCH_PRO_STYLUS_FORCE , XRT_INPUT_NAME(0x0D18, VEC1_ZERO_TO_ONE)) \
1262 _(XRT_INPUT_TOUCH_PLUS_X_CLICK , XRT_INPUT_NAME(0x0E00, BOOLEAN)) \
1263 _(XRT_INPUT_TOUCH_PLUS_X_TOUCH , XRT_INPUT_NAME(0x0E01, BOOLEAN)) \
1264 _(XRT_INPUT_TOUCH_PLUS_Y_CLICK , XRT_INPUT_NAME(0x0E02, BOOLEAN)) \
1265 _(XRT_INPUT_TOUCH_PLUS_Y_TOUCH , XRT_INPUT_NAME(0x0E03, BOOLEAN)) \
1266 _(XRT_INPUT_TOUCH_PLUS_MENU_CLICK , XRT_INPUT_NAME(0x0E04, BOOLEAN)) \
1267 _(XRT_INPUT_TOUCH_PLUS_A_CLICK , XRT_INPUT_NAME(0x0E05, BOOLEAN)) \
1268 _(XRT_INPUT_TOUCH_PLUS_A_TOUCH , XRT_INPUT_NAME(0x0E06, BOOLEAN)) \
1269 _(XRT_INPUT_TOUCH_PLUS_B_CLICK , XRT_INPUT_NAME(0x0E07, BOOLEAN)) \
1270 _(XRT_INPUT_TOUCH_PLUS_B_TOUCH , XRT_INPUT_NAME(0x0E08, BOOLEAN)) \
1271 _(XRT_INPUT_TOUCH_PLUS_SYSTEM_CLICK , XRT_INPUT_NAME(0x0E09, BOOLEAN)) \
1272 _(XRT_INPUT_TOUCH_PLUS_SQUEEZE_VALUE , XRT_INPUT_NAME(0x0E0A, VEC1_ZERO_TO_ONE)) \
1273 _(XRT_INPUT_TOUCH_PLUS_TRIGGER_TOUCH , XRT_INPUT_NAME(0x0E0B, BOOLEAN)) \
1274 _(XRT_INPUT_TOUCH_PLUS_TRIGGER_PROXIMITY , XRT_INPUT_NAME(0x0E0C, BOOLEAN)) \
1275 _(XRT_INPUT_TOUCH_PLUS_TRIGGER_VALUE , XRT_INPUT_NAME(0x0E0D, VEC1_ZERO_TO_ONE)) \
1276 _(XRT_INPUT_TOUCH_PLUS_TRIGGER_FORCE , XRT_INPUT_NAME(0x0E0E, VEC1_ZERO_TO_ONE)) \
1277 _(XRT_INPUT_TOUCH_PLUS_THUMBSTICK_CLICK , XRT_INPUT_NAME(0x0E0F, BOOLEAN)) \
1278 _(XRT_INPUT_TOUCH_PLUS_THUMBSTICK_TOUCH , XRT_INPUT_NAME(0x0E10, BOOLEAN)) \
1279 _(XRT_INPUT_TOUCH_PLUS_THUMBSTICK , XRT_INPUT_NAME(0x0E11, VEC2_MINUS_ONE_TO_ONE)) \
1280 _(XRT_INPUT_TOUCH_PLUS_THUMBREST_TOUCH , XRT_INPUT_NAME(0x0E12, BOOLEAN)) \
1281 _(XRT_INPUT_TOUCH_PLUS_GRIP_POSE , XRT_INPUT_NAME(0x0E13, POSE)) \
1282 _(XRT_INPUT_TOUCH_PLUS_AIM_POSE , XRT_INPUT_NAME(0x0E14, POSE)) \
1283 _(XRT_INPUT_TOUCH_PLUS_THUMB_PROXIMITY , XRT_INPUT_NAME(0x0E15, BOOLEAN)) \
1284 _(XRT_INPUT_TOUCH_PLUS_TRIGGER_CURL , XRT_INPUT_NAME(0x0E16, VEC1_ZERO_TO_ONE)) \
1285 _(XRT_INPUT_TOUCH_PLUS_TRIGGER_SLIDE , XRT_INPUT_NAME(0x0E17, VEC1_ZERO_TO_ONE))
1299#define XRT_INPUT_LIST_TO_NAME_VALUE(NAME, VALUE) NAME = VALUE,
1301 XRT_INPUT_LIST(XRT_INPUT_LIST_TO_NAME_VALUE)
1303#undef XRT_INPUT_LIST_TO_NAME_VALUE
1312#define XRT_HAND_JOINT_COUNT 26
1321 XRT_HAND_JOINT_PALM = 0,
1322 XRT_HAND_JOINT_WRIST = 1,
1323 XRT_HAND_JOINT_THUMB_METACARPAL = 2,
1324 XRT_HAND_JOINT_THUMB_PROXIMAL = 3,
1325 XRT_HAND_JOINT_THUMB_DISTAL = 4,
1326 XRT_HAND_JOINT_THUMB_TIP = 5,
1327 XRT_HAND_JOINT_INDEX_METACARPAL = 6,
1328 XRT_HAND_JOINT_INDEX_PROXIMAL = 7,
1329 XRT_HAND_JOINT_INDEX_INTERMEDIATE = 8,
1330 XRT_HAND_JOINT_INDEX_DISTAL = 9,
1331 XRT_HAND_JOINT_INDEX_TIP = 10,
1332 XRT_HAND_JOINT_MIDDLE_METACARPAL = 11,
1333 XRT_HAND_JOINT_MIDDLE_PROXIMAL = 12,
1334 XRT_HAND_JOINT_MIDDLE_INTERMEDIATE = 13,
1335 XRT_HAND_JOINT_MIDDLE_DISTAL = 14,
1336 XRT_HAND_JOINT_MIDDLE_TIP = 15,
1337 XRT_HAND_JOINT_RING_METACARPAL = 16,
1338 XRT_HAND_JOINT_RING_PROXIMAL = 17,
1339 XRT_HAND_JOINT_RING_INTERMEDIATE = 18,
1340 XRT_HAND_JOINT_RING_DISTAL = 19,
1341 XRT_HAND_JOINT_RING_TIP = 20,
1342 XRT_HAND_JOINT_LITTLE_METACARPAL = 21,
1343 XRT_HAND_JOINT_LITTLE_PROXIMAL = 22,
1344 XRT_HAND_JOINT_LITTLE_INTERMEDIATE = 23,
1345 XRT_HAND_JOINT_LITTLE_DISTAL = 24,
1346 XRT_HAND_JOINT_LITTLE_TIP = 25,
1347 XRT_HAND_JOINT_MAX_ENUM = 0x7FFFFFFF
1377#define XRT_FINGER_COUNT 5
1386 XRT_FINGER_LITTLE = 0,
1426#define XRT_OUTPUT_TYPE_BITWIDTH 8u
1433#define XRT_OUTPUT_TYPE_BITMASK 0xffu
1443 XRT_OUTPUT_TYPE_VIBRATION = 0x00,
1444 XRT_OUTPUT_TYPE_FORCE_FEEDBACK = 0x01,
1448#define XRT_OUTPUT_NAME(id, type) ((UINT32_C(id) << XRT_OUTPUT_TYPE_BITWIDTH) | (uint32_t)XRT_OUTPUT_TYPE_##type)
1450enum xrt_face_expression2_fb
1452 XRT_FACE_EXPRESSION2_BROW_LOWERER_L_FB = 0,
1453 XRT_FACE_EXPRESSION2_BROW_LOWERER_R_FB = 1,
1454 XRT_FACE_EXPRESSION2_CHEEK_PUFF_L_FB = 2,
1455 XRT_FACE_EXPRESSION2_CHEEK_PUFF_R_FB = 3,
1456 XRT_FACE_EXPRESSION2_CHEEK_RAISER_L_FB = 4,
1457 XRT_FACE_EXPRESSION2_CHEEK_RAISER_R_FB = 5,
1458 XRT_FACE_EXPRESSION2_CHEEK_SUCK_L_FB = 6,
1459 XRT_FACE_EXPRESSION2_CHEEK_SUCK_R_FB = 7,
1460 XRT_FACE_EXPRESSION2_CHIN_RAISER_B_FB = 8,
1461 XRT_FACE_EXPRESSION2_CHIN_RAISER_T_FB = 9,
1462 XRT_FACE_EXPRESSION2_DIMPLER_L_FB = 10,
1463 XRT_FACE_EXPRESSION2_DIMPLER_R_FB = 11,
1464 XRT_FACE_EXPRESSION2_EYES_CLOSED_L_FB = 12,
1465 XRT_FACE_EXPRESSION2_EYES_CLOSED_R_FB = 13,
1466 XRT_FACE_EXPRESSION2_EYES_LOOK_DOWN_L_FB = 14,
1467 XRT_FACE_EXPRESSION2_EYES_LOOK_DOWN_R_FB = 15,
1468 XRT_FACE_EXPRESSION2_EYES_LOOK_LEFT_L_FB = 16,
1469 XRT_FACE_EXPRESSION2_EYES_LOOK_LEFT_R_FB = 17,
1470 XRT_FACE_EXPRESSION2_EYES_LOOK_RIGHT_L_FB = 18,
1471 XRT_FACE_EXPRESSION2_EYES_LOOK_RIGHT_R_FB = 19,
1472 XRT_FACE_EXPRESSION2_EYES_LOOK_UP_L_FB = 20,
1473 XRT_FACE_EXPRESSION2_EYES_LOOK_UP_R_FB = 21,
1474 XRT_FACE_EXPRESSION2_INNER_BROW_RAISER_L_FB = 22,
1475 XRT_FACE_EXPRESSION2_INNER_BROW_RAISER_R_FB = 23,
1476 XRT_FACE_EXPRESSION2_JAW_DROP_FB = 24,
1477 XRT_FACE_EXPRESSION2_JAW_SIDEWAYS_LEFT_FB = 25,
1478 XRT_FACE_EXPRESSION2_JAW_SIDEWAYS_RIGHT_FB = 26,
1479 XRT_FACE_EXPRESSION2_JAW_THRUST_FB = 27,
1480 XRT_FACE_EXPRESSION2_LID_TIGHTENER_L_FB = 28,
1481 XRT_FACE_EXPRESSION2_LID_TIGHTENER_R_FB = 29,
1482 XRT_FACE_EXPRESSION2_LIP_CORNER_DEPRESSOR_L_FB = 30,
1483 XRT_FACE_EXPRESSION2_LIP_CORNER_DEPRESSOR_R_FB = 31,
1484 XRT_FACE_EXPRESSION2_LIP_CORNER_PULLER_L_FB = 32,
1485 XRT_FACE_EXPRESSION2_LIP_CORNER_PULLER_R_FB = 33,
1486 XRT_FACE_EXPRESSION2_LIP_FUNNELER_LB_FB = 34,
1487 XRT_FACE_EXPRESSION2_LIP_FUNNELER_LT_FB = 35,
1488 XRT_FACE_EXPRESSION2_LIP_FUNNELER_RB_FB = 36,
1489 XRT_FACE_EXPRESSION2_LIP_FUNNELER_RT_FB = 37,
1490 XRT_FACE_EXPRESSION2_LIP_PRESSOR_L_FB = 38,
1491 XRT_FACE_EXPRESSION2_LIP_PRESSOR_R_FB = 39,
1492 XRT_FACE_EXPRESSION2_LIP_PUCKER_L_FB = 40,
1493 XRT_FACE_EXPRESSION2_LIP_PUCKER_R_FB = 41,
1494 XRT_FACE_EXPRESSION2_LIP_STRETCHER_L_FB = 42,
1495 XRT_FACE_EXPRESSION2_LIP_STRETCHER_R_FB = 43,
1496 XRT_FACE_EXPRESSION2_LIP_SUCK_LB_FB = 44,
1497 XRT_FACE_EXPRESSION2_LIP_SUCK_LT_FB = 45,
1498 XRT_FACE_EXPRESSION2_LIP_SUCK_RB_FB = 46,
1499 XRT_FACE_EXPRESSION2_LIP_SUCK_RT_FB = 47,
1500 XRT_FACE_EXPRESSION2_LIP_TIGHTENER_L_FB = 48,
1501 XRT_FACE_EXPRESSION2_LIP_TIGHTENER_R_FB = 49,
1502 XRT_FACE_EXPRESSION2_LIPS_TOWARD_FB = 50,
1503 XRT_FACE_EXPRESSION2_LOWER_LIP_DEPRESSOR_L_FB = 51,
1504 XRT_FACE_EXPRESSION2_LOWER_LIP_DEPRESSOR_R_FB = 52,
1505 XRT_FACE_EXPRESSION2_MOUTH_LEFT_FB = 53,
1506 XRT_FACE_EXPRESSION2_MOUTH_RIGHT_FB = 54,
1507 XRT_FACE_EXPRESSION2_NOSE_WRINKLER_L_FB = 55,
1508 XRT_FACE_EXPRESSION2_NOSE_WRINKLER_R_FB = 56,
1509 XRT_FACE_EXPRESSION2_OUTER_BROW_RAISER_L_FB = 57,
1510 XRT_FACE_EXPRESSION2_OUTER_BROW_RAISER_R_FB = 58,
1511 XRT_FACE_EXPRESSION2_UPPER_LID_RAISER_L_FB = 59,
1512 XRT_FACE_EXPRESSION2_UPPER_LID_RAISER_R_FB = 60,
1513 XRT_FACE_EXPRESSION2_UPPER_LIP_RAISER_L_FB = 61,
1514 XRT_FACE_EXPRESSION2_UPPER_LIP_RAISER_R_FB = 62,
1515 XRT_FACE_EXPRESSION2_TONGUE_TIP_INTERDENTAL_FB = 63,
1516 XRT_FACE_EXPRESSION2_TONGUE_TIP_ALVEOLAR_FB = 64,
1517 XRT_FACE_EXPRESSION2_TONGUE_FRONT_DORSAL_PALATE_FB = 65,
1518 XRT_FACE_EXPRESSION2_TONGUE_MID_DORSAL_PALATE_FB = 66,
1519 XRT_FACE_EXPRESSION2_TONGUE_BACK_DORSAL_VELAR_FB = 67,
1520 XRT_FACE_EXPRESSION2_TONGUE_OUT_FB = 68,
1521 XRT_FACE_EXPRESSION2_TONGUE_RETREAT_FB = 69,
1522 XRT_FACE_EXPRESSION2_COUNT_FB = 70,
1523 XRT_FACE_EXPRESSION_2FB_MAX_ENUM_FB = 0x7FFFFFFF
1526enum xrt_face_confidence2_fb
1528 XRT_FACE_CONFIDENCE2_LOWER_FACE_FB = 0,
1529 XRT_FACE_CONFIDENCE2_UPPER_FACE_FB = 1,
1530 XRT_FACE_CONFIDENCE2_COUNT_FB = 2,
1531 XRT_FACE_CONFIDENCE_2FB_MAX_ENUM_FB = 0x7FFFFFFF
1534enum xrt_face_expression_set2_fb
1536 XRT_FACE_EXPRESSION_SET2_DEFAULT_FB = 0,
1537 XRT_FACE_EXPRESSION_SET_2FB_MAX_ENUM_FB = 0x7FFFFFFF
1540enum xrt_face_tracking_data_source2_fb
1542 XRT_FACE_TRACKING_DATA_SOURCE2_VISUAL_FB = 0,
1543 XRT_FACE_TRACKING_DATA_SOURCE2_AUDIO_FB = 1,
1544 XRT_FACE_TRACKING_DATA_SOURCE_2FB_MAX_ENUM_FB = 0x7FFFFFFF
1547enum xrt_eye_expression_htc
1549 XRT_EYE_EXPRESSION_LEFT_BLINK_HTC = 0,
1550 XRT_EYE_EXPRESSION_LEFT_WIDE_HTC = 1,
1551 XRT_EYE_EXPRESSION_RIGHT_BLINK_HTC = 2,
1552 XRT_EYE_EXPRESSION_RIGHT_WIDE_HTC = 3,
1553 XRT_EYE_EXPRESSION_LEFT_SQUEEZE_HTC = 4,
1554 XRT_EYE_EXPRESSION_RIGHT_SQUEEZE_HTC = 5,
1555 XRT_EYE_EXPRESSION_LEFT_DOWN_HTC = 6,
1556 XRT_EYE_EXPRESSION_RIGHT_DOWN_HTC = 7,
1557 XRT_EYE_EXPRESSION_LEFT_OUT_HTC = 8,
1558 XRT_EYE_EXPRESSION_RIGHT_IN_HTC = 9,
1559 XRT_EYE_EXPRESSION_LEFT_IN_HTC = 10,
1560 XRT_EYE_EXPRESSION_RIGHT_OUT_HTC = 11,
1561 XRT_EYE_EXPRESSION_LEFT_UP_HTC = 12,
1562 XRT_EYE_EXPRESSION_RIGHT_UP_HTC = 13
1565enum xrt_lip_expression_htc
1567 XRT_LIP_EXPRESSION_JAW_RIGHT_HTC = 0,
1568 XRT_LIP_EXPRESSION_JAW_LEFT_HTC = 1,
1569 XRT_LIP_EXPRESSION_JAW_FORWARD_HTC = 2,
1570 XRT_LIP_EXPRESSION_JAW_OPEN_HTC = 3,
1571 XRT_LIP_EXPRESSION_MOUTH_APE_SHAPE_HTC = 4,
1572 XRT_LIP_EXPRESSION_MOUTH_UPPER_RIGHT_HTC = 5,
1573 XRT_LIP_EXPRESSION_MOUTH_UPPER_LEFT_HTC = 6,
1574 XRT_LIP_EXPRESSION_MOUTH_LOWER_RIGHT_HTC = 7,
1575 XRT_LIP_EXPRESSION_MOUTH_LOWER_LEFT_HTC = 8,
1576 XRT_LIP_EXPRESSION_MOUTH_UPPER_OVERTURN_HTC = 9,
1577 XRT_LIP_EXPRESSION_MOUTH_LOWER_OVERTURN_HTC = 10,
1578 XRT_LIP_EXPRESSION_MOUTH_POUT_HTC = 11,
1579 XRT_LIP_EXPRESSION_MOUTH_SMILE_RIGHT_HTC = 12,
1580 XRT_LIP_EXPRESSION_MOUTH_SMILE_LEFT_HTC = 13,
1581 XRT_LIP_EXPRESSION_MOUTH_SAD_RIGHT_HTC = 14,
1582 XRT_LIP_EXPRESSION_MOUTH_SAD_LEFT_HTC = 15,
1583 XRT_LIP_EXPRESSION_CHEEK_PUFF_RIGHT_HTC = 16,
1584 XRT_LIP_EXPRESSION_CHEEK_PUFF_LEFT_HTC = 17,
1585 XRT_LIP_EXPRESSION_CHEEK_SUCK_HTC = 18,
1586 XRT_LIP_EXPRESSION_MOUTH_UPPER_UPRIGHT_HTC = 19,
1587 XRT_LIP_EXPRESSION_MOUTH_UPPER_UPLEFT_HTC = 20,
1588 XRT_LIP_EXPRESSION_MOUTH_LOWER_DOWNRIGHT_HTC = 21,
1589 XRT_LIP_EXPRESSION_MOUTH_LOWER_DOWNLEFT_HTC = 22,
1590 XRT_LIP_EXPRESSION_MOUTH_UPPER_INSIDE_HTC = 23,
1591 XRT_LIP_EXPRESSION_MOUTH_LOWER_INSIDE_HTC = 24,
1592 XRT_LIP_EXPRESSION_MOUTH_LOWER_OVERLAY_HTC = 25,
1593 XRT_LIP_EXPRESSION_TONGUE_LONGSTEP1_HTC = 26,
1594 XRT_LIP_EXPRESSION_TONGUE_LEFT_HTC = 27,
1595 XRT_LIP_EXPRESSION_TONGUE_RIGHT_HTC = 28,
1596 XRT_LIP_EXPRESSION_TONGUE_UP_HTC = 29,
1597 XRT_LIP_EXPRESSION_TONGUE_DOWN_HTC = 30,
1598 XRT_LIP_EXPRESSION_TONGUE_ROLL_HTC = 31,
1599 XRT_LIP_EXPRESSION_TONGUE_LONGSTEP2_HTC = 32,
1600 XRT_LIP_EXPRESSION_TONGUE_UPRIGHT_MORPH_HTC = 33,
1601 XRT_LIP_EXPRESSION_TONGUE_UPLEFT_MORPH_HTC = 34,
1602 XRT_LIP_EXPRESSION_TONGUE_DOWNRIGHT_MORPH_HTC = 35,
1603 XRT_LIP_EXPRESSION_TONGUE_DOWNLEFT_MORPH_HTC = 36
1606enum xrt_facial_tracking_type_htc
1608 XRT_FACIAL_TRACKING_TYPE_EYE_DEFAULT_HTC = 1,
1609 XRT_FACIAL_TRACKING_TYPE_LIP_DEFAULT_HTC = 2
1612#define XRT_FACIAL_EXPRESSION_EYE_COUNT_HTC 14
1613#define XRT_FACIAL_EXPRESSION_LIP_COUNT_HTC 37
1617 int64_t sample_time_ns;
1625 float expression_weights[XRT_FACIAL_EXPRESSION_EYE_COUNT_HTC];
1632 float expression_weights[XRT_FACIAL_EXPRESSION_LIP_COUNT_HTC];
1637 float weights[XRT_FACE_EXPRESSION2_COUNT_FB];
1638 float confidences[XRT_FACE_CONFIDENCE2_COUNT_FB];
1640 enum xrt_face_tracking_data_source2_fb data_source;
1641 uint64_t sample_time_ns;
1644 bool is_eye_following_blendshapes_valid;
1658enum xrt_body_joint_fb
1660 XRT_BODY_JOINT_ROOT_FB = 0,
1661 XRT_BODY_JOINT_HIPS_FB = 1,
1662 XRT_BODY_JOINT_SPINE_LOWER_FB = 2,
1663 XRT_BODY_JOINT_SPINE_MIDDLE_FB = 3,
1664 XRT_BODY_JOINT_SPINE_UPPER_FB = 4,
1665 XRT_BODY_JOINT_CHEST_FB = 5,
1666 XRT_BODY_JOINT_NECK_FB = 6,
1667 XRT_BODY_JOINT_HEAD_FB = 7,
1668 XRT_BODY_JOINT_LEFT_SHOULDER_FB = 8,
1669 XRT_BODY_JOINT_LEFT_SCAPULA_FB = 9,
1670 XRT_BODY_JOINT_LEFT_ARM_UPPER_FB = 10,
1671 XRT_BODY_JOINT_LEFT_ARM_LOWER_FB = 11,
1672 XRT_BODY_JOINT_LEFT_HAND_WRIST_TWIST_FB = 12,
1673 XRT_BODY_JOINT_RIGHT_SHOULDER_FB = 13,
1674 XRT_BODY_JOINT_RIGHT_SCAPULA_FB = 14,
1675 XRT_BODY_JOINT_RIGHT_ARM_UPPER_FB = 15,
1676 XRT_BODY_JOINT_RIGHT_ARM_LOWER_FB = 16,
1677 XRT_BODY_JOINT_RIGHT_HAND_WRIST_TWIST_FB = 17,
1678 XRT_BODY_JOINT_LEFT_HAND_PALM_FB = 18,
1679 XRT_BODY_JOINT_LEFT_HAND_WRIST_FB = 19,
1680 XRT_BODY_JOINT_LEFT_HAND_THUMB_METACARPAL_FB = 20,
1681 XRT_BODY_JOINT_LEFT_HAND_THUMB_PROXIMAL_FB = 21,
1682 XRT_BODY_JOINT_LEFT_HAND_THUMB_DISTAL_FB = 22,
1683 XRT_BODY_JOINT_LEFT_HAND_THUMB_TIP_FB = 23,
1684 XRT_BODY_JOINT_LEFT_HAND_INDEX_METACARPAL_FB = 24,
1685 XRT_BODY_JOINT_LEFT_HAND_INDEX_PROXIMAL_FB = 25,
1686 XRT_BODY_JOINT_LEFT_HAND_INDEX_INTERMEDIATE_FB = 26,
1687 XRT_BODY_JOINT_LEFT_HAND_INDEX_DISTAL_FB = 27,
1688 XRT_BODY_JOINT_LEFT_HAND_INDEX_TIP_FB = 28,
1689 XRT_BODY_JOINT_LEFT_HAND_MIDDLE_METACARPAL_FB = 29,
1690 XRT_BODY_JOINT_LEFT_HAND_MIDDLE_PROXIMAL_FB = 30,
1691 XRT_BODY_JOINT_LEFT_HAND_MIDDLE_INTERMEDIATE_FB = 31,
1692 XRT_BODY_JOINT_LEFT_HAND_MIDDLE_DISTAL_FB = 32,
1693 XRT_BODY_JOINT_LEFT_HAND_MIDDLE_TIP_FB = 33,
1694 XRT_BODY_JOINT_LEFT_HAND_RING_METACARPAL_FB = 34,
1695 XRT_BODY_JOINT_LEFT_HAND_RING_PROXIMAL_FB = 35,
1696 XRT_BODY_JOINT_LEFT_HAND_RING_INTERMEDIATE_FB = 36,
1697 XRT_BODY_JOINT_LEFT_HAND_RING_DISTAL_FB = 37,
1698 XRT_BODY_JOINT_LEFT_HAND_RING_TIP_FB = 38,
1699 XRT_BODY_JOINT_LEFT_HAND_LITTLE_METACARPAL_FB = 39,
1700 XRT_BODY_JOINT_LEFT_HAND_LITTLE_PROXIMAL_FB = 40,
1701 XRT_BODY_JOINT_LEFT_HAND_LITTLE_INTERMEDIATE_FB = 41,
1702 XRT_BODY_JOINT_LEFT_HAND_LITTLE_DISTAL_FB = 42,
1703 XRT_BODY_JOINT_LEFT_HAND_LITTLE_TIP_FB = 43,
1704 XRT_BODY_JOINT_RIGHT_HAND_PALM_FB = 44,
1705 XRT_BODY_JOINT_RIGHT_HAND_WRIST_FB = 45,
1706 XRT_BODY_JOINT_RIGHT_HAND_THUMB_METACARPAL_FB = 46,
1707 XRT_BODY_JOINT_RIGHT_HAND_THUMB_PROXIMAL_FB = 47,
1708 XRT_BODY_JOINT_RIGHT_HAND_THUMB_DISTAL_FB = 48,
1709 XRT_BODY_JOINT_RIGHT_HAND_THUMB_TIP_FB = 49,
1710 XRT_BODY_JOINT_RIGHT_HAND_INDEX_METACARPAL_FB = 50,
1711 XRT_BODY_JOINT_RIGHT_HAND_INDEX_PROXIMAL_FB = 51,
1712 XRT_BODY_JOINT_RIGHT_HAND_INDEX_INTERMEDIATE_FB = 52,
1713 XRT_BODY_JOINT_RIGHT_HAND_INDEX_DISTAL_FB = 53,
1714 XRT_BODY_JOINT_RIGHT_HAND_INDEX_TIP_FB = 54,
1715 XRT_BODY_JOINT_RIGHT_HAND_MIDDLE_METACARPAL_FB = 55,
1716 XRT_BODY_JOINT_RIGHT_HAND_MIDDLE_PROXIMAL_FB = 56,
1717 XRT_BODY_JOINT_RIGHT_HAND_MIDDLE_INTERMEDIATE_FB = 57,
1718 XRT_BODY_JOINT_RIGHT_HAND_MIDDLE_DISTAL_FB = 58,
1719 XRT_BODY_JOINT_RIGHT_HAND_MIDDLE_TIP_FB = 59,
1720 XRT_BODY_JOINT_RIGHT_HAND_RING_METACARPAL_FB = 60,
1721 XRT_BODY_JOINT_RIGHT_HAND_RING_PROXIMAL_FB = 61,
1722 XRT_BODY_JOINT_RIGHT_HAND_RING_INTERMEDIATE_FB = 62,
1723 XRT_BODY_JOINT_RIGHT_HAND_RING_DISTAL_FB = 63,
1724 XRT_BODY_JOINT_RIGHT_HAND_RING_TIP_FB = 64,
1725 XRT_BODY_JOINT_RIGHT_HAND_LITTLE_METACARPAL_FB = 65,
1726 XRT_BODY_JOINT_RIGHT_HAND_LITTLE_PROXIMAL_FB = 66,
1727 XRT_BODY_JOINT_RIGHT_HAND_LITTLE_INTERMEDIATE_FB = 67,
1728 XRT_BODY_JOINT_RIGHT_HAND_LITTLE_DISTAL_FB = 68,
1729 XRT_BODY_JOINT_RIGHT_HAND_LITTLE_TIP_FB = 69,
1730 XRT_BODY_JOINT_COUNT_FB = 70,
1731 XRT_BODY_JOINT_NONE_FB = -1,
1734enum xrt_body_joint_set_type_fb
1736 XRT_BODY_JOINT_SET_UNKNOWN = 0,
1738 XRT_BODY_JOINT_SET_DEFAULT_FB,
1746 int32_t parent_joint;
1772 int64_t sample_time_ns;
1774 uint32_t skeleton_changed_count;
1805 XRT_OUTPUT_NAME_SIMPLE_VIBRATION = XRT_OUTPUT_NAME(0x0010, VIBRATION),
1806 XRT_OUTPUT_NAME_PSMV_RUMBLE_VIBRATION = XRT_OUTPUT_NAME(0x0020, VIBRATION),
1807 XRT_OUTPUT_NAME_INDEX_HAPTIC = XRT_OUTPUT_NAME(0x0030, VIBRATION),
1808 XRT_OUTPUT_NAME_VIVE_HAPTIC = XRT_OUTPUT_NAME(0x0040, VIBRATION),
1809 XRT_OUTPUT_NAME_WMR_HAPTIC = XRT_OUTPUT_NAME(0x0050, VIBRATION),
1811 XRT_OUTPUT_NAME_XBOX_HAPTIC_LEFT = XRT_OUTPUT_NAME(0x0060, VIBRATION),
1812 XRT_OUTPUT_NAME_XBOX_HAPTIC_RIGHT = XRT_OUTPUT_NAME(0x0061, VIBRATION),
1813 XRT_OUTPUT_NAME_XBOX_HAPTIC_LEFT_TRIGGER = XRT_OUTPUT_NAME(0x0062, VIBRATION),
1814 XRT_OUTPUT_NAME_XBOX_HAPTIC_RIGHT_TRIGGER = XRT_OUTPUT_NAME(0x0063, VIBRATION),
1816 XRT_OUTPUT_NAME_TOUCH_HAPTIC = XRT_OUTPUT_NAME(0x0070, VIBRATION),
1818 XRT_OUTPUT_NAME_FORCE_FEEDBACK_LEFT = XRT_OUTPUT_NAME(0x0080, FORCE_FEEDBACK),
1819 XRT_OUTPUT_NAME_FORCE_FEEDBACK_RIGHT = XRT_OUTPUT_NAME(0x0081, FORCE_FEEDBACK),
1821 XRT_OUTPUT_NAME_G2_CONTROLLER_HAPTIC = XRT_OUTPUT_NAME(0x0090, VIBRATION),
1822 XRT_OUTPUT_NAME_ODYSSEY_CONTROLLER_HAPTIC = XRT_OUTPUT_NAME(0x00A0, VIBRATION),
1823 XRT_OUTPUT_NAME_ML2_CONTROLLER_VIBRATION = XRT_OUTPUT_NAME(0x00B0, VIBRATION),
1825 XRT_OUTPUT_NAME_PSSENSE_VIBRATION = XRT_OUTPUT_NAME(0x00C0, VIBRATION),
1826 XRT_OUTPUT_NAME_PSSENSE_TRIGGER_FEEDBACK = XRT_OUTPUT_NAME(0x00C1, FORCE_FEEDBACK),
1828 XRT_OUTPUT_NAME_VIVE_TRACKER_HAPTIC = XRT_OUTPUT_NAME(0x00D0, VIBRATION),
1830 XRT_OUTPUT_NAME_OPPO_MR_HAPTIC = XRT_OUTPUT_NAME(0x00E0, VIBRATION),
1832 XRT_OUTPUT_NAME_PICO_NEO3_HAPTIC = XRT_OUTPUT_NAME(0x00F0, VIBRATION),
1833 XRT_OUTPUT_NAME_PICO4_HAPTIC = XRT_OUTPUT_NAME(0x0100, VIBRATION),
1835 XRT_OUTPUT_NAME_VIVE_COSMOS_HAPTIC = XRT_OUTPUT_NAME(0x0200, VIBRATION),
1836 XRT_OUTPUT_NAME_VIVE_FOCUS3_HAPTIC = XRT_OUTPUT_NAME(0x0300, VIBRATION),
1838 XRT_OUTPUT_NAME_TOUCH_PRO_HAPTIC = XRT_OUTPUT_NAME(0x0400, VIBRATION),
1839 XRT_OUTPUT_NAME_TOUCH_PRO_HAPTIC_TRIGGER = XRT_OUTPUT_NAME(0x0500, VIBRATION),
1840 XRT_OUTPUT_NAME_TOUCH_PRO_HAPTIC_THUMB = XRT_OUTPUT_NAME(0x0600, VIBRATION),
1841 XRT_OUTPUT_NAME_TOUCH_PLUS_HAPTIC = XRT_OUTPUT_NAME(0x0700, VIBRATION)
1850#define XRT_MIN_HAPTIC_DURATION -1
1859#define XRT_FREQUENCY_UNSPECIFIED 0
1866#define XRT_INFINITE_DURATION (0x7fffffffffffffffLL)
1868enum xrt_force_feedback_location
1870 XRT_FORCE_FEEDBACK_LOCATION_LEFT_THUMB,
1871 XRT_FORCE_FEEDBACK_LOCATION_LEFT_INDEX,
1872 XRT_FORCE_FEEDBACK_LOCATION_LEFT_MIDDLE,
1873 XRT_FORCE_FEEDBACK_LOCATION_LEFT_RING,
1874 XRT_FORCE_FEEDBACK_LOCATION_LEFT_PINKY,
1880 enum xrt_force_feedback_location location;
1894 int64_t duration_ns;
1900 uint64_t force_feedback_location_count;
1929 XRT_PERF_DOMAIN_CPU = 1,
1930 XRT_PERF_DOMAIN_GPU = 2,
1933enum xrt_perf_sub_domain
1935 XRT_PERF_SUB_DOMAIN_COMPOSITING = 1,
1936 XRT_PERF_SUB_DOMAIN_RENDERING = 2,
1937 XRT_PERF_SUB_DOMAIN_THERMAL = 3
1945 XRT_PERF_SET_LEVEL_POWER_SAVINGS = 0,
1946 XRT_PERF_SET_LEVEL_SUSTAINED_LOW = 25,
1947 XRT_PERF_SET_LEVEL_SUSTAINED_HIGH = 50,
1948 XRT_PERF_SET_LEVEL_BOOST = 75,
1956 XRT_PERF_NOTIFY_LEVEL_NORMAL = 0,
1957 XRT_PERF_NOTIFY_LEVEL_WARNING = 25,
1958 XRT_PERF_NOTIFY_LEVEL_IMPAIRED = 75,
1968 XRT_VISIBILITY_MASK_TYPE_HIDDEN_TRIANGLE_MESH = 1,
1969 XRT_VISIBILITY_MASK_TYPE_VISIBLE_TRIANGLE_MESH = 2,
1970 XRT_VISIBILITY_MASK_TYPE_LINE_LOOP = 3,
1989 xrt_atomic_s32_inc_return(&xref->count);
2001 xrt_atomic_s32_dec_return(&xref->count);
2010XRT_CHECK_RESULT
static inline bool
2013 int32_t count = xrt_atomic_s32_inc_return(&xref->count);
2023XRT_CHECK_RESULT
static inline bool
2026 int32_t count = xrt_atomic_s32_dec_return(&xref->count);
xrt_input_type
Base type of this inputs.
Definition: xrt_defines.h:802
xrt_hand
Enumeration for left and right hand.
Definition: xrt_defines.h:1354
#define XRT_MATRIX_3X3_ELEMENTS
The number of values in xrt_matrix_3x3.
Definition: xrt_defines.h:525
xrt_stereo_format
What type of stereo format a frame has.
Definition: xrt_defines.h:203
xrt_visibility_mask_type
Visibility mask, mirror of XrVisibilityMaskKHR.
Definition: xrt_defines.h:1965
xrt_blend_mode
Blend mode that the device supports, exact mirror of XrEnvironmentBlendMode.
Definition: xrt_defines.h:109
static XRT_CHECK_RESULT bool xrt_reference_dec_and_is_zero(struct xrt_reference *xref)
Decrement the reference and return true if the value is now zero.
Definition: xrt_defines.h:2022
xrt_form_factor
What form factor is this device, mostly maps onto OpenXR's XrFormFactor.
Definition: xrt_defines.h:1915
xrt_input_name
Every internal input source known to monado with a baked in type.
Definition: xrt_defines.h:1298
xrt_output_type
Base type of this output.
Definition: xrt_defines.h:1439
static XRT_CHECK_RESULT bool xrt_reference_inc_and_was_zero(struct xrt_reference *xref)
Increment the reference and return true if the value was zero.
Definition: xrt_defines.h:2009
#define XRT_UUID_SIZE
Internal define for VK_UUID_SIZE and XR_UUID_SIZE_EXT.
Definition: xrt_defines.h:28
#define XRT_MATRIX_2X2_ELEMENTS
The number of values in xrt_matrix_2x2.
Definition: xrt_defines.h:498
static void xrt_reference_inc(struct xrt_reference *xref)
Increment the reference, probably want xrt_reference_inc_and_was_zero.
Definition: xrt_defines.h:1985
#define XRT_MATRIX_2X2_VECS
The number of 2d vectors in xrt_matrix_2x2.
Definition: xrt_defines.h:505
#define XRT_LUID_SIZE
Internal define for VK_LUID_SIZE.
Definition: xrt_defines.h:52
static void xrt_reference_dec(struct xrt_reference *xref)
Decrement the reference, probably want xrt_reference_dec_and_is_zero.
Definition: xrt_defines.h:1997
xrt_reference_space_type
Type of a OpenXR mapped reference space, maps to the semantic spaces on the xrt_space_overseer struct...
Definition: xrt_defines.h:599
#define XRT_HAND_JOINT_COUNT
Number of joints in a hand.
Definition: xrt_defines.h:1310
xrt_output_name
Name of a output with a baked in type.
Definition: xrt_defines.h:1801
xrt_finger
Names for fingers on a hand.
Definition: xrt_defines.h:1383
xrt_hand_joint
Number of joints in a hand.
Definition: xrt_defines.h:1318
#define XRT_MATRIX_4X4_ELEMENTS
The number of values in a 4x4 matrix like xrt_matrix_4x4 and xrt_matrix_4x4_f64.
Definition: xrt_defines.h:552
xrt_space_relation_flags
Flags of which components of a xrt_space_relation is valid.
Definition: xrt_defines.h:629
xrt_device_type
How an xrt_device can be used.
Definition: xrt_defines.h:783
@ XRT_INPUT_TYPE_POSE
A tracked pose.
Definition: xrt_defines.h:815
@ XRT_INPUT_TYPE_VEC2_MINUS_ONE_TO_ONE
Vec2 input, components in [-1, 1].
Definition: xrt_defines.h:809
@ XRT_INPUT_TYPE_VEC3_MINUS_ONE_TO_ONE
Vec3 input, components in [-1, 1].
Definition: xrt_defines.h:811
@ XRT_INPUT_TYPE_FACE_TRACKING
A tracked face.
Definition: xrt_defines.h:819
@ XRT_INPUT_TYPE_BODY_TRACKING
A tracked body.
Definition: xrt_defines.h:821
@ XRT_INPUT_TYPE_HAND_TRACKING
A tracked hand.
Definition: xrt_defines.h:817
@ XRT_INPUT_TYPE_VEC1_MINUS_ONE_TO_ONE
Float input in [-1, 1].
Definition: xrt_defines.h:807
@ XRT_INPUT_TYPE_BOOLEAN
Boolean (digital, binary) input.
Definition: xrt_defines.h:813
@ XRT_INPUT_TYPE_VEC1_ZERO_TO_ONE
Float input in [0, 1].
Definition: xrt_defines.h:805
@ XRT_STEREO_FORMAT_OAU
Over & Under.
Definition: xrt_defines.h:207
@ XRT_STEREO_FORMAT_SBS
Side by side.
Definition: xrt_defines.h:205
@ XRT_STEREO_FORMAT_INTERLEAVED
Interleaved pixels.
Definition: xrt_defines.h:206
@ XRT_FORM_FACTOR_HANDHELD
Handheld display.
Definition: xrt_defines.h:1917
@ XRT_FORM_FACTOR_HMD
Head mounted display.
Definition: xrt_defines.h:1916
static Eigen::Map< const Eigen::Vector3f > position(const struct xrt_pose &pose)
Return a Eigen type wrapping a pose's position (const).
Definition: m_eigen_interop.hpp:217
static Eigen::Map< const Eigen::Quaternionf > orientation(const struct xrt_pose &pose)
Return a Eigen type wrapping a pose's orientation (const).
Definition: m_eigen_interop.hpp:199
A range of API versions supported.
Definition: xrt_defines.h:580
Definition: xrt_defines.h:1769
Definition: xrt_defines.h:1764
Definition: xrt_defines.h:1778
Definition: xrt_defines.h:1785
Definition: xrt_defines.h:1749
Definition: xrt_defines.h:1741
Definition: xrt_defines.h:1757
A 3 element colour with floating point channels.
Definition: xrt_defines.h:384
A 3 element colour with 8 bits per channel.
Definition: xrt_defines.h:359
A 4 element colour with floating point channels.
Definition: xrt_defines.h:396
A 4 element colour with 8 bits per channel.
Definition: xrt_defines.h:371
Definition: xrt_defines.h:1614
Definition: xrt_defines.h:1634
Definition: xrt_defines.h:1646
Definition: xrt_defines.h:1620
Definition: xrt_defines.h:1627
Describes a projection matrix fov.
Definition: xrt_defines.h:486
Joint set type used for hand tracking.
Definition: xrt_defines.h:1397
Location of a single hand joint.
Definition: xrt_defines.h:1365
A limited unique id, it is only unique for the process it is in, so must not be used or synchronized ...
Definition: xrt_defines.h:79
To transport LUIDs between different APIs.
Definition: xrt_defines.h:60
A tightly packed 2x2 matrix of floats.
Definition: xrt_defines.h:513
A tightly packed 3x3 matrix of doubles.
Definition: xrt_defines.h:543
A tightly packed 3x3 matrix of floats.
Definition: xrt_defines.h:533
A tightly packed 4x4 matrix of double.
Definition: xrt_defines.h:570
A tightly packed 4x4 matrix of floats.
Definition: xrt_defines.h:560
Normalized image rectangle, coordinates and size in 0 .
Definition: xrt_defines.h:453
Image offset.
Definition: xrt_defines.h:420
Definition: xrt_defines.h:1876
A pose composed of a position and orientation.
Definition: xrt_defines.h:465
A quaternion with single floats.
Definition: xrt_defines.h:216
Image rectangle.
Definition: xrt_defines.h:443
Image rectangle.
Definition: xrt_defines.h:430
A base class for reference counted objects.
Definition: xrt_defines.h:96
A chain of space relations and their associated validity flags.
Definition: xrt_defines.h:695
#define XRT_RELATION_CHAIN_CAPACITY
The maximum number of steps that can be in a relation chain.
Definition: xrt_defines.h:685
Image size.
Definition: xrt_defines.h:409
A relation with two spaces, includes velocity and acceleration.
Definition: xrt_defines.h:657
To transport UUIDs between different APIs.
Definition: xrt_defines.h:36
Represents a uv triplet for distortion, basically just three xrt_vec2.
Definition: xrt_defines.h:261
A 1 element vector with single floats.
Definition: xrt_defines.h:240
A 2 element vector with 32 bit integers.
Definition: xrt_defines.h:348
A 2 element vector with single floats.
Definition: xrt_defines.h:250
A 3 element vector with single doubles.
Definition: xrt_defines.h:283
A 3 element vector with 32 bit integers.
Definition: xrt_defines.h:336
A 3 element vector with single floats.
Definition: xrt_defines.h:271
A union of all output types.
Definition: xrt_defines.h:1887
Header holding common defines.
xrt_perf_notify_level
Performance level.
Definition: xrt_defines.h:1953
xrt_distortion_model
Which distortion model does the device expose, used both as a bitfield and value.
Definition: xrt_defines.h:164
xrt_passthrough_purpose_flags
Specify the kind of passthrough behavior the layer provides.
Definition: xrt_defines.h:148
@ XRT_PASSTHROUGH_LAYER_PURPOSE_TRACKED_KEYBOARD_MASKED_HANDS
Provided by XR_FB_passthrough_keyboard_hands.
Definition: xrt_defines.h:156
@ XRT_PASSTHROUGH_LAYER_PURPOSE_RECONSTRUCTION
Fullscreen layer.
Definition: xrt_defines.h:150
@ XRT_PASSTHROUGH_LAYER_PURPOSE_TRACKED_KEYBOARD_HANDS
Provided by XR_FB_passthrough_keyboard_hands.
Definition: xrt_defines.h:154
@ XRT_PASSTHROUGH_LAYER_PURPOSE_PROJECTED
Projected layer.
Definition: xrt_defines.h:152
xrt_device_name
A enum that is used to name devices so that the state trackers can reason about the devices easier.
Definition: xrt_defines.h:712
@ XRT_DEVICE_HTC_FACE_TRACKING
XR_HTC_facial_tracking.
Definition: xrt_defines.h:757
@ XRT_DEVICE_FB_BODY_TRACKING
XR_FB_body_tracking.
Definition: xrt_defines.h:760
@ XRT_DEVICE_FB_FACE_TRACKING2
XR_FB_face_tracking2.
Definition: xrt_defines.h:763
@ XRT_DEVICE_EXT_HAND_INTERACTION
XR_EXT_hand_interaction.
Definition: xrt_defines.h:754
xrt_perf_domain
Domain type.
Definition: xrt_defines.h:1926
xrt_passthrough_state
Specify additional state change behavior.
Definition: xrt_defines.h:133
@ XRT_PASSTHROUGH_STATE_CHANGED_NON_RECOVERABLE_ERROR_BIT
Non-recoverable error has occurred.
Definition: xrt_defines.h:137
@ XRT_PASSTHROUGH_STATE_CHANGED_RESTORED_ERROR_BIT
The runtime has recovered from a previous error and is functioning normally.
Definition: xrt_defines.h:141
@ XRT_PASSTHROUGH_STATE_CHANGED_REINIT_REQUIRED_BIT
Passthrough system requires reinitialization.
Definition: xrt_defines.h:135
@ XRT_PASSTHROUGH_STATE_CHANGED_RECOVERABLE_ERROR_BIT
A recoverable error has occurred.
Definition: xrt_defines.h:139
xrt_format
Common formats, use u_format_* functions to reason about them.
Definition: xrt_defines.h:176
xrt_passthrough_create_flags
Special flags for creating passthrough.
Definition: xrt_defines.h:122
@ XRT_PASSTHROUGH_LAYER_DEPTH
Our compositor just ignores this bit.
Definition: xrt_defines.h:126
@ XRT_PASSTHROUGH_IS_RUNNING_AT_CREATION
Start the passthrough on creation.
Definition: xrt_defines.h:124
xrt_perf_set_level
Performance level.
Definition: xrt_defines.h:1942
Internal result type for XRT.