mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
u/pp: Generate u_pp_xrt_input_name from XRT_INPUT_LIST macro
This commit is contained in:
parent
deddf40f7d
commit
c477ec3304
|
@ -110,242 +110,15 @@ u_pp(struct u_pp_delegate dg, const char *fmt, ...)
|
|||
void
|
||||
u_pp_xrt_input_name(struct u_pp_delegate dg, enum xrt_input_name name)
|
||||
{
|
||||
#define XRT_INPUT_LIST_TO_CASE(NAME, _) \
|
||||
case NAME: DG(#NAME); return;
|
||||
|
||||
switch (name) {
|
||||
case XRT_INPUT_GENERIC_HEAD_POSE: DG("XRT_INPUT_GENERIC_HEAD_POSE"); return;
|
||||
case XRT_INPUT_GENERIC_HEAD_DETECT: DG("XRT_INPUT_GENERIC_HEAD_DETECT"); return;
|
||||
case XRT_INPUT_GENERIC_HAND_TRACKING_LEFT: DG("XRT_INPUT_GENERIC_HAND_TRACKING_LEFT"); return;
|
||||
case XRT_INPUT_GENERIC_HAND_TRACKING_RIGHT: DG("XRT_INPUT_GENERIC_HAND_TRACKING_RIGHT"); return;
|
||||
case XRT_INPUT_GENERIC_TRACKER_POSE: DG("XRT_INPUT_GENERIC_TRACKER_POSE"); return;
|
||||
case XRT_INPUT_GENERIC_PALM_POSE: DG("XRT_INPUT_GENERIC_PALM_POSE"); return;
|
||||
case XRT_INPUT_GENERIC_EYE_GAZE_POSE: DG("XRT_INPUT_GENERIC_EYE_GAZE_POSE"); return;
|
||||
case XRT_INPUT_GENERIC_LOCAL_SPACE_POSE: DG("XRT_INPUT_GENERIC_LOCAL_SPACE_POSE"); return;
|
||||
case XRT_INPUT_GENERIC_LOCAL_FLOOR_SPACE_POSE: DG("XRT_INPUT_GENERIC_LOCAL_FLOOR_SPACE_POSE"); return;
|
||||
case XRT_INPUT_GENERIC_STAGE_SPACE_POSE: DG("XRT_INPUT_GENERIC_STAGE_SPACE_POSE"); return;
|
||||
case XRT_INPUT_GENERIC_UNBOUNDED_SPACE_POSE: DG("XRT_INPUT_GENERIC_UNBOUNDED_SPACE_POSE"); return;
|
||||
case XRT_INPUT_SIMPLE_SELECT_CLICK: DG("XRT_INPUT_SIMPLE_SELECT_CLICK"); return;
|
||||
case XRT_INPUT_SIMPLE_MENU_CLICK: DG("XRT_INPUT_SIMPLE_MENU_CLICK"); return;
|
||||
case XRT_INPUT_SIMPLE_GRIP_POSE: DG("XRT_INPUT_SIMPLE_GRIP_POSE"); return;
|
||||
case XRT_INPUT_SIMPLE_AIM_POSE: DG("XRT_INPUT_SIMPLE_AIM_POSE"); return;
|
||||
case XRT_INPUT_PSMV_PS_CLICK: DG("XRT_INPUT_PSMV_PS_CLICK"); return;
|
||||
case XRT_INPUT_PSMV_MOVE_CLICK: DG("XRT_INPUT_PSMV_MOVE_CLICK"); return;
|
||||
case XRT_INPUT_PSMV_START_CLICK: DG("XRT_INPUT_PSMV_START_CLICK"); return;
|
||||
case XRT_INPUT_PSMV_SELECT_CLICK: DG("XRT_INPUT_PSMV_SELECT_CLICK"); return;
|
||||
case XRT_INPUT_PSMV_SQUARE_CLICK: DG("XRT_INPUT_PSMV_SQUARE_CLICK"); return;
|
||||
case XRT_INPUT_PSMV_CROSS_CLICK: DG("XRT_INPUT_PSMV_CROSS_CLICK"); return;
|
||||
case XRT_INPUT_PSMV_CIRCLE_CLICK: DG("XRT_INPUT_PSMV_CIRCLE_CLICK"); return;
|
||||
case XRT_INPUT_PSMV_TRIANGLE_CLICK: DG("XRT_INPUT_PSMV_TRIANGLE_CLICK"); return;
|
||||
case XRT_INPUT_PSMV_TRIGGER_VALUE: DG("XRT_INPUT_PSMV_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_PSMV_GRIP_POSE: DG("XRT_INPUT_PSMV_GRIP_POSE"); return;
|
||||
case XRT_INPUT_PSMV_AIM_POSE: DG("XRT_INPUT_PSMV_AIM_POSE"); return;
|
||||
case XRT_INPUT_PSMV_BODY_CENTER_POSE: DG("XRT_INPUT_PSMV_BODY_CENTER_POSE"); return;
|
||||
case XRT_INPUT_PSMV_BALL_CENTER_POSE: DG("XRT_INPUT_PSMV_BALL_CENTER_POSE"); return;
|
||||
case XRT_INPUT_HYDRA_1_CLICK: DG("XRT_INPUT_HYDRA_1_CLICK"); return;
|
||||
case XRT_INPUT_HYDRA_2_CLICK: DG("XRT_INPUT_HYDRA_2_CLICK"); return;
|
||||
case XRT_INPUT_HYDRA_3_CLICK: DG("XRT_INPUT_HYDRA_3_CLICK"); return;
|
||||
case XRT_INPUT_HYDRA_4_CLICK: DG("XRT_INPUT_HYDRA_4_CLICK"); return;
|
||||
case XRT_INPUT_HYDRA_MIDDLE_CLICK: DG("XRT_INPUT_HYDRA_MIDDLE_CLICK"); return;
|
||||
case XRT_INPUT_HYDRA_BUMPER_CLICK: DG("XRT_INPUT_HYDRA_BUMPER_CLICK"); return;
|
||||
case XRT_INPUT_HYDRA_JOYSTICK_CLICK: DG("XRT_INPUT_HYDRA_JOYSTICK_CLICK"); return;
|
||||
case XRT_INPUT_HYDRA_JOYSTICK_VALUE: DG("XRT_INPUT_HYDRA_JOYSTICK_VALUE"); return;
|
||||
case XRT_INPUT_HYDRA_TRIGGER_VALUE: DG("XRT_INPUT_HYDRA_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_HYDRA_POSE: DG("XRT_INPUT_HYDRA_POSE"); return;
|
||||
case XRT_INPUT_DAYDREAM_TOUCHPAD_CLICK: DG("XRT_INPUT_DAYDREAM_TOUCHPAD_CLICK"); return;
|
||||
case XRT_INPUT_DAYDREAM_BAR_CLICK: DG("XRT_INPUT_DAYDREAM_BAR_CLICK"); return;
|
||||
case XRT_INPUT_DAYDREAM_CIRCLE_CLICK: DG("XRT_INPUT_DAYDREAM_CIRCLE_CLICK"); return;
|
||||
case XRT_INPUT_DAYDREAM_VOLUP_CLICK: DG("XRT_INPUT_DAYDREAM_VOLUP_CLICK"); return;
|
||||
case XRT_INPUT_DAYDREAM_VOLDN_CLICK: DG("XRT_INPUT_DAYDREAM_VOLDN_CLICK"); return;
|
||||
case XRT_INPUT_DAYDREAM_TOUCHPAD: DG("XRT_INPUT_DAYDREAM_TOUCHPAD"); return;
|
||||
case XRT_INPUT_DAYDREAM_POSE: DG("XRT_INPUT_DAYDREAM_POSE"); return;
|
||||
case XRT_INPUT_DAYDREAM_TOUCHPAD_TOUCH: DG("XRT_INPUT_DAYDREAM_TOUCHPAD_TOUCH"); return;
|
||||
case XRT_INPUT_INDEX_SYSTEM_CLICK: DG("XRT_INPUT_INDEX_SYSTEM_CLICK"); return;
|
||||
case XRT_INPUT_INDEX_SYSTEM_TOUCH: DG("XRT_INPUT_INDEX_SYSTEM_TOUCH"); return;
|
||||
case XRT_INPUT_INDEX_A_CLICK: DG("XRT_INPUT_INDEX_A_CLICK"); return;
|
||||
case XRT_INPUT_INDEX_A_TOUCH: DG("XRT_INPUT_INDEX_A_TOUCH"); return;
|
||||
case XRT_INPUT_INDEX_B_CLICK: DG("XRT_INPUT_INDEX_B_CLICK"); return;
|
||||
case XRT_INPUT_INDEX_B_TOUCH: DG("XRT_INPUT_INDEX_B_TOUCH"); return;
|
||||
case XRT_INPUT_INDEX_SQUEEZE_VALUE: DG("XRT_INPUT_INDEX_SQUEEZE_VALUE"); return;
|
||||
case XRT_INPUT_INDEX_SQUEEZE_FORCE: DG("XRT_INPUT_INDEX_SQUEEZE_FORCE"); return;
|
||||
case XRT_INPUT_INDEX_TRIGGER_CLICK: DG("XRT_INPUT_INDEX_TRIGGER_CLICK"); return;
|
||||
case XRT_INPUT_INDEX_TRIGGER_VALUE: DG("XRT_INPUT_INDEX_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_INDEX_TRIGGER_TOUCH: DG("XRT_INPUT_INDEX_TRIGGER_TOUCH"); return;
|
||||
case XRT_INPUT_INDEX_THUMBSTICK: DG("XRT_INPUT_INDEX_THUMBSTICK"); return;
|
||||
case XRT_INPUT_INDEX_THUMBSTICK_CLICK: DG("XRT_INPUT_INDEX_THUMBSTICK_CLICK"); return;
|
||||
case XRT_INPUT_INDEX_THUMBSTICK_TOUCH: DG("XRT_INPUT_INDEX_THUMBSTICK_TOUCH"); return;
|
||||
case XRT_INPUT_INDEX_TRACKPAD: DG("XRT_INPUT_INDEX_TRACKPAD"); return;
|
||||
case XRT_INPUT_INDEX_TRACKPAD_FORCE: DG("XRT_INPUT_INDEX_TRACKPAD_FORCE"); return;
|
||||
case XRT_INPUT_INDEX_TRACKPAD_TOUCH: DG("XRT_INPUT_INDEX_TRACKPAD_TOUCH"); return;
|
||||
case XRT_INPUT_INDEX_GRIP_POSE: DG("XRT_INPUT_INDEX_GRIP_POSE"); return;
|
||||
case XRT_INPUT_INDEX_AIM_POSE: DG("XRT_INPUT_INDEX_AIM_POSE"); return;
|
||||
case XRT_INPUT_VIVE_SYSTEM_CLICK: DG("XRT_INPUT_VIVE_SYSTEM_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_SQUEEZE_CLICK: DG("XRT_INPUT_VIVE_SQUEEZE_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_MENU_CLICK: DG("XRT_INPUT_VIVE_MENU_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_TRIGGER_CLICK: DG("XRT_INPUT_VIVE_TRIGGER_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_TRIGGER_VALUE: DG("XRT_INPUT_VIVE_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_VIVE_TRACKPAD: DG("XRT_INPUT_VIVE_TRACKPAD"); return;
|
||||
case XRT_INPUT_VIVE_TRACKPAD_CLICK: DG("XRT_INPUT_VIVE_TRACKPAD_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_TRACKPAD_TOUCH: DG("XRT_INPUT_VIVE_TRACKPAD_TOUCH"); return;
|
||||
case XRT_INPUT_VIVE_GRIP_POSE: DG("XRT_INPUT_VIVE_GRIP_POSE"); return;
|
||||
case XRT_INPUT_VIVE_AIM_POSE: DG("XRT_INPUT_VIVE_AIM_POSE"); return;
|
||||
case XRT_INPUT_VIVEPRO_SYSTEM_CLICK: DG("XRT_INPUT_VIVEPRO_SYSTEM_CLICK"); return;
|
||||
case XRT_INPUT_VIVEPRO_VOLUP_CLICK: DG("XRT_INPUT_VIVEPRO_VOLUP_CLICK"); return;
|
||||
case XRT_INPUT_VIVEPRO_VOLDN_CLICK: DG("XRT_INPUT_VIVEPRO_VOLDN_CLICK"); return;
|
||||
case XRT_INPUT_VIVEPRO_MUTE_MIC_CLICK: DG("XRT_INPUT_VIVEPRO_MUTE_MIC_CLICK"); return;
|
||||
case XRT_INPUT_WMR_MENU_CLICK: DG("XRT_INPUT_WMR_MENU_CLICK"); return;
|
||||
case XRT_INPUT_WMR_SQUEEZE_CLICK: DG("XRT_INPUT_WMR_SQUEEZE_CLICK"); return;
|
||||
case XRT_INPUT_WMR_TRIGGER_VALUE: DG("XRT_INPUT_WMR_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_WMR_THUMBSTICK_CLICK: DG("XRT_INPUT_WMR_THUMBSTICK_CLICK"); return;
|
||||
case XRT_INPUT_WMR_THUMBSTICK: DG("XRT_INPUT_WMR_THUMBSTICK"); return;
|
||||
case XRT_INPUT_WMR_TRACKPAD_CLICK: DG("XRT_INPUT_WMR_TRACKPAD_CLICK"); return;
|
||||
case XRT_INPUT_WMR_TRACKPAD_TOUCH: DG("XRT_INPUT_WMR_TRACKPAD_TOUCH"); return;
|
||||
case XRT_INPUT_WMR_TRACKPAD: DG("XRT_INPUT_WMR_TRACKPAD"); return;
|
||||
case XRT_INPUT_WMR_GRIP_POSE: DG("XRT_INPUT_WMR_GRIP_POSE"); return;
|
||||
case XRT_INPUT_WMR_AIM_POSE: DG("XRT_INPUT_WMR_AIM_POSE"); return;
|
||||
case XRT_INPUT_WMR_HOME_CLICK: DG("XRT_INPUT_WMR_HOME_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_MENU_CLICK: DG("XRT_INPUT_XBOX_MENU_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_VIEW_CLICK: DG("XRT_INPUT_XBOX_VIEW_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_A_CLICK: DG("XRT_INPUT_XBOX_A_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_B_CLICK: DG("XRT_INPUT_XBOX_B_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_X_CLICK: DG("XRT_INPUT_XBOX_X_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_Y_CLICK: DG("XRT_INPUT_XBOX_Y_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_DPAD_DOWN_CLICK: DG("XRT_INPUT_XBOX_DPAD_DOWN_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_DPAD_RIGHT_CLICK: DG("XRT_INPUT_XBOX_DPAD_RIGHT_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_DPAD_UP_CLICK: DG("XRT_INPUT_XBOX_DPAD_UP_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_DPAD_LEFT_CLICK: DG("XRT_INPUT_XBOX_DPAD_LEFT_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_SHOULDER_LEFT_CLICK: DG("XRT_INPUT_XBOX_SHOULDER_LEFT_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_SHOULDER_RIGHT_CLICK: DG("XRT_INPUT_XBOX_SHOULDER_RIGHT_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_THUMBSTICK_LEFT_CLICK: DG("XRT_INPUT_XBOX_THUMBSTICK_LEFT_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_THUMBSTICK_LEFT: DG("XRT_INPUT_XBOX_THUMBSTICK_LEFT"); return;
|
||||
case XRT_INPUT_XBOX_THUMBSTICK_RIGHT_CLICK: DG("XRT_INPUT_XBOX_THUMBSTICK_RIGHT_CLICK"); return;
|
||||
case XRT_INPUT_XBOX_THUMBSTICK_RIGHT: DG("XRT_INPUT_XBOX_THUMBSTICK_RIGHT"); return;
|
||||
case XRT_INPUT_XBOX_LEFT_TRIGGER_VALUE: DG("XRT_INPUT_XBOX_LEFT_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_XBOX_RIGHT_TRIGGER_VALUE: DG("XRT_INPUT_XBOX_RIGHT_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_GO_SYSTEM_CLICK: DG("XRT_INPUT_GO_SYSTEM_CLICK"); return;
|
||||
case XRT_INPUT_GO_TRIGGER_CLICK: DG("XRT_INPUT_GO_TRIGGER_CLICK"); return;
|
||||
case XRT_INPUT_GO_BACK_CLICK: DG("XRT_INPUT_GO_BACK_CLICK"); return;
|
||||
case XRT_INPUT_GO_TRACKPAD_CLICK: DG("XRT_INPUT_GO_TRACKPAD_CLICK"); return;
|
||||
case XRT_INPUT_GO_TRACKPAD_TOUCH: DG("XRT_INPUT_GO_TRACKPAD_TOUCH"); return;
|
||||
case XRT_INPUT_GO_TRACKPAD: DG("XRT_INPUT_GO_TRACKPAD"); return;
|
||||
case XRT_INPUT_GO_GRIP_POSE: DG("XRT_INPUT_GO_GRIP_POSE"); return;
|
||||
case XRT_INPUT_GO_AIM_POSE: DG("XRT_INPUT_GO_AIM_POSE"); return;
|
||||
case XRT_INPUT_TOUCH_X_CLICK: DG("XRT_INPUT_TOUCH_X_CLICK"); return;
|
||||
case XRT_INPUT_TOUCH_X_TOUCH: DG("XRT_INPUT_TOUCH_X_TOUCH"); return;
|
||||
case XRT_INPUT_TOUCH_Y_CLICK: DG("XRT_INPUT_TOUCH_Y_CLICK"); return;
|
||||
case XRT_INPUT_TOUCH_Y_TOUCH: DG("XRT_INPUT_TOUCH_Y_TOUCH"); return;
|
||||
case XRT_INPUT_TOUCH_MENU_CLICK: DG("XRT_INPUT_TOUCH_MENU_CLICK"); return;
|
||||
case XRT_INPUT_TOUCH_A_CLICK: DG("XRT_INPUT_TOUCH_A_CLICK"); return;
|
||||
case XRT_INPUT_TOUCH_A_TOUCH: DG("XRT_INPUT_TOUCH_A_TOUCH"); return;
|
||||
case XRT_INPUT_TOUCH_B_CLICK: DG("XRT_INPUT_TOUCH_B_CLICK"); return;
|
||||
case XRT_INPUT_TOUCH_B_TOUCH: DG("XRT_INPUT_TOUCH_B_TOUCH"); return;
|
||||
case XRT_INPUT_TOUCH_SYSTEM_CLICK: DG("XRT_INPUT_TOUCH_SYSTEM_CLICK"); return;
|
||||
case XRT_INPUT_TOUCH_SQUEEZE_VALUE: DG("XRT_INPUT_TOUCH_SQUEEZE_VALUE"); return;
|
||||
case XRT_INPUT_TOUCH_TRIGGER_TOUCH: DG("XRT_INPUT_TOUCH_TRIGGER_TOUCH"); return;
|
||||
case XRT_INPUT_TOUCH_TRIGGER_VALUE: DG("XRT_INPUT_TOUCH_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_TOUCH_THUMBSTICK_CLICK: DG("XRT_INPUT_TOUCH_THUMBSTICK_CLICK"); return;
|
||||
case XRT_INPUT_TOUCH_THUMBSTICK_TOUCH: DG("XRT_INPUT_TOUCH_THUMBSTICK_TOUCH"); return;
|
||||
case XRT_INPUT_TOUCH_THUMBSTICK: DG("XRT_INPUT_TOUCH_THUMBSTICK"); return;
|
||||
case XRT_INPUT_TOUCH_THUMBREST_TOUCH: DG("XRT_INPUT_TOUCH_THUMBREST_TOUCH"); return;
|
||||
case XRT_INPUT_TOUCH_GRIP_POSE: DG("XRT_INPUT_TOUCH_GRIP_POSE"); return;
|
||||
case XRT_INPUT_TOUCH_AIM_POSE: DG("XRT_INPUT_TOUCH_AIM_POSE"); return;
|
||||
case XRT_INPUT_HAND_SELECT_VALUE: DG("XRT_INPUT_HAND_SELECT_VALUE"); return;
|
||||
case XRT_INPUT_HAND_SQUEEZE_VALUE: DG("XRT_INPUT_HAND_SQUEEZE_VALUE"); return;
|
||||
case XRT_INPUT_HAND_GRIP_POSE: DG("XRT_INPUT_HAND_GRIP_POSE"); return;
|
||||
case XRT_INPUT_HAND_AIM_POSE: DG("XRT_INPUT_HAND_AIM_POSE"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_X_CLICK: DG("XRT_INPUT_G2_CONTROLLER_X_CLICK"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_Y_CLICK: DG("XRT_INPUT_G2_CONTROLLER_Y_CLICK"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_A_CLICK: DG("XRT_INPUT_G2_CONTROLLER_A_CLICK"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_B_CLICK: DG("XRT_INPUT_G2_CONTROLLER_B_CLICK"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_MENU_CLICK: DG("XRT_INPUT_G2_CONTROLLER_MENU_CLICK"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_SQUEEZE_VALUE: DG("XRT_INPUT_G2_CONTROLLER_SQUEEZE_VALUE"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_TRIGGER_VALUE: DG("XRT_INPUT_G2_CONTROLLER_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_THUMBSTICK_CLICK: DG("XRT_INPUT_G2_CONTROLLER_THUMBSTICK_CLICK"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_THUMBSTICK: DG("XRT_INPUT_G2_CONTROLLER_THUMBSTICK"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_GRIP_POSE: DG("XRT_INPUT_G2_CONTROLLER_GRIP_POSE"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_AIM_POSE: DG("XRT_INPUT_G2_CONTROLLER_AIM_POSE"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_HOME_CLICK: DG("XRT_INPUT_G2_CONTROLLER_HOME_CLICK"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_MENU_CLICK: DG("XRT_INPUT_ODYSSEY_CONTROLLER_MENU_CLICK"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_SQUEEZE_CLICK: DG("XRT_INPUT_ODYSSEY_CONTROLLER_SQUEEZE_CLICK"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_TRIGGER_VALUE: DG("XRT_INPUT_ODYSSEY_CONTROLLER_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_THUMBSTICK_CLICK: DG("XRT_INPUT_ODYSSEY_CONTROLLER_THUMBSTICK_CLICK"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_THUMBSTICK: DG("XRT_INPUT_ODYSSEY_CONTROLLER_THUMBSTICK"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_TRACKPAD_CLICK: DG("XRT_INPUT_ODYSSEY_CONTROLLER_TRACKPAD_CLICK"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_TRACKPAD_TOUCH: DG("XRT_INPUT_ODYSSEY_CONTROLLER_TRACKPAD_TOUCH"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_TRACKPAD: DG("XRT_INPUT_ODYSSEY_CONTROLLER_TRACKPAD"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_GRIP_POSE: DG("XRT_INPUT_ODYSSEY_CONTROLLER_GRIP_POSE"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_AIM_POSE: DG("XRT_INPUT_ODYSSEY_CONTROLLER_AIM_POSE"); return;
|
||||
case XRT_INPUT_G2_CONTROLLER_SQUEEZE_CLICK: DG("XRT_INPUT_G2_CONTROLLER_SQUEEZE_CLICK"); return;
|
||||
case XRT_INPUT_ODYSSEY_CONTROLLER_HOME_CLICK: DG("XRT_INPUT_ODYSSEY_CONTROLLER_HOME_CLICK"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_MENU_CLICK: DG("XRT_INPUT_ML2_CONTROLLER_MENU_CLICK"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_SELECT_CLICK: DG("XRT_INPUT_ML2_CONTROLLER_SELECT_CLICK"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_TRIGGER_CLICK: DG("XRT_INPUT_ML2_CONTROLLER_TRIGGER_CLICK"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_TRIGGER_VALUE: DG("XRT_INPUT_ML2_CONTROLLER_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_TRACKPAD_CLICK: DG("XRT_INPUT_ML2_CONTROLLER_TRACKPAD_CLICK"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_TRACKPAD_TOUCH: DG("XRT_INPUT_ML2_CONTROLLER_TRACKPAD_TOUCH"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_TRACKPAD_FORCE: DG("XRT_INPUT_ML2_CONTROLLER_TRACKPAD_FORCE"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_TRACKPAD: DG("XRT_INPUT_ML2_CONTROLLER_TRACKPAD"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_GRIP_POSE: DG("XRT_INPUT_ML2_CONTROLLER_GRIP_POSE"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_AIM_POSE: DG("XRT_INPUT_ML2_CONTROLLER_AIM_POSE"); return;
|
||||
case XRT_INPUT_ML2_CONTROLLER_SHOULDER_CLICK: DG("XRT_INPUT_ML2_CONTROLLER_SHOULDER_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_TRACKER_SYSTEM_CLICK: DG("XRT_INPUT_VIVE_TRACKER_SYSTEM_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_TRACKER_MENU_CLICK: DG("XRT_INPUT_VIVE_TRACKER_MENU_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_TRACKER_TRIGGER_CLICK: DG("XRT_INPUT_VIVE_TRACKER_TRIGGER_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_TRACKER_SQUEEZE_CLICK: DG("XRT_INPUT_VIVE_TRACKER_SQUEEZE_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_TRACKER_TRIGGER_VALUE: DG("XRT_INPUT_VIVE_TRACKER_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_VIVE_TRACKER_TRACKPAD: DG("XRT_INPUT_VIVE_TRACKER_TRACKPAD"); return;
|
||||
case XRT_INPUT_VIVE_TRACKER_TRACKPAD_CLICK: DG("XRT_INPUT_VIVE_TRACKER_TRACKPAD_CLICK"); return;
|
||||
case XRT_INPUT_VIVE_TRACKER_TRACKPAD_TOUCH: DG("XRT_INPUT_VIVE_TRACKER_TRACKPAD_TOUCH"); return;
|
||||
case XRT_INPUT_VIVE_TRACKER_GRIP_POSE: DG("XRT_INPUT_VIVE_TRACKER_GRIP_POSE"); return;
|
||||
case XRT_INPUT_PSSENSE_PS_CLICK: DG("XRT_INPUT_PSSENSE_PS_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_SHARE_CLICK: DG("XRT_INPUT_PSSENSE_SHARE_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_OPTIONS_CLICK: DG("XRT_INPUT_PSSENSE_OPTIONS_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_SQUARE_CLICK: DG("XRT_INPUT_PSSENSE_SQUARE_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_SQUARE_TOUCH: DG("XRT_INPUT_PSSENSE_SQUARE_TOUCH"); return;
|
||||
case XRT_INPUT_PSSENSE_TRIANGLE_CLICK: DG("XRT_INPUT_PSSENSE_TRIANGLE_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_TRIANGLE_TOUCH: DG("XRT_INPUT_PSSENSE_TRIANGLE_TOUCH"); return;
|
||||
case XRT_INPUT_PSSENSE_CROSS_CLICK: DG("XRT_INPUT_PSSENSE_CROSS_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_CROSS_TOUCH: DG("XRT_INPUT_PSSENSE_CROSS_TOUCH"); return;
|
||||
case XRT_INPUT_PSSENSE_CIRCLE_CLICK: DG("XRT_INPUT_PSSENSE_CIRCLE_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_CIRCLE_TOUCH: DG("XRT_INPUT_PSSENSE_CIRCLE_TOUCH"); return;
|
||||
case XRT_INPUT_PSSENSE_SQUEEZE_CLICK: DG("XRT_INPUT_PSSENSE_SQUEEZE_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_SQUEEZE_TOUCH: DG("XRT_INPUT_PSSENSE_SQUEEZE_TOUCH"); return;
|
||||
case XRT_INPUT_PSSENSE_SQUEEZE_PROXIMITY: DG("XRT_INPUT_PSSENSE_SQUEEZE_PROXIMITY"); return;
|
||||
case XRT_INPUT_PSSENSE_TRIGGER_CLICK: DG("XRT_INPUT_PSSENSE_TRIGGER_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_TRIGGER_TOUCH: DG("XRT_INPUT_PSSENSE_TRIGGER_TOUCH"); return;
|
||||
case XRT_INPUT_PSSENSE_TRIGGER_VALUE: DG("XRT_INPUT_PSSENSE_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_PSSENSE_TRIGGER_PROXIMITY: DG("XRT_INPUT_PSSENSE_TRIGGER_PROXIMITY"); return;
|
||||
case XRT_INPUT_PSSENSE_THUMBSTICK: DG("XRT_INPUT_PSSENSE_THUMBSTICK"); return;
|
||||
case XRT_INPUT_PSSENSE_THUMBSTICK_CLICK: DG("XRT_INPUT_PSSENSE_THUMBSTICK_CLICK"); return;
|
||||
case XRT_INPUT_PSSENSE_THUMBSTICK_TOUCH: DG("XRT_INPUT_PSSENSE_THUMBSTICK_TOUCH"); return;
|
||||
case XRT_INPUT_PSSENSE_GRIP_POSE: DG("XRT_INPUT_PSSENSE_GRIP_POSE"); return;
|
||||
case XRT_INPUT_PSSENSE_AIM_POSE: DG("XRT_INPUT_PSSENSE_AIM_POSE"); return;
|
||||
case XRT_INPUT_HAND_PINCH_POSE: DG("XRT_INPUT_HAND_PINCH_POSE"); return;
|
||||
case XRT_INPUT_HAND_POKE_POSE: DG("XRT_INPUT_HAND_POKE_POSE"); return;
|
||||
case XRT_INPUT_HAND_PINCH_VALUE: DG("XRT_INPUT_HAND_PINCH_VALUE"); return;
|
||||
case XRT_INPUT_HAND_AIM_ACTIVATE_VALUE: DG("XRT_INPUT_HAND_AIM_ACTIVATE_VALUE"); return;
|
||||
case XRT_INPUT_HAND_GRASP_VALUE: DG("XRT_INPUT_HAND_GRASP_VALUE"); return;
|
||||
case XRT_INPUT_HAND_PINCH_READY: DG("XRT_INPUT_HAND_PINCH_READY"); return;
|
||||
case XRT_INPUT_HAND_AIM_ACTIVATE_READY: DG("XRT_INPUT_HAND_AIM_ACTIVATE_READY"); return;
|
||||
case XRT_INPUT_HAND_GRASP_READY: DG("XRT_INPUT_HAND_GRASP_READY"); return;
|
||||
case XRT_INPUT_OPPO_MR_X_CLICK: DG("XRT_INPUT_OPPO_MR_X_CLICK"); return;
|
||||
case XRT_INPUT_OPPO_MR_X_TOUCH: DG("XRT_INPUT_OPPO_MR_X_TOUCH"); return;
|
||||
case XRT_INPUT_OPPO_MR_Y_CLICK: DG("XRT_INPUT_OPPO_MR_Y_CLICK"); return;
|
||||
case XRT_INPUT_OPPO_MR_Y_TOUCH: DG("XRT_INPUT_OPPO_MR_Y_TOUCH"); return;
|
||||
case XRT_INPUT_OPPO_MR_MENU_CLICK: DG("XRT_INPUT_OPPO_MR_MENU_CLICK"); return;
|
||||
case XRT_INPUT_OPPO_MR_HEART_RATE_VALUE: DG("XRT_INPUT_OPPO_MR_HEART_RATE_VALUE"); return;
|
||||
case XRT_INPUT_OPPO_MR_A_CLICK: DG("XRT_INPUT_OPPO_MR_A_CLICK"); return;
|
||||
case XRT_INPUT_OPPO_MR_A_TOUCH: DG("XRT_INPUT_OPPO_MR_A_TOUCH"); return;
|
||||
case XRT_INPUT_OPPO_MR_B_CLICK: DG("XRT_INPUT_OPPO_MR_B_CLICK"); return;
|
||||
case XRT_INPUT_OPPO_MR_B_TOUCH: DG("XRT_INPUT_OPPO_MR_B_TOUCH"); return;
|
||||
case XRT_INPUT_OPPO_MR_HOME_CLICK: DG("XRT_INPUT_OPPO_MR_HOME_CLICK"); return;
|
||||
case XRT_INPUT_OPPO_MR_SQUEEZE_VALUE: DG("XRT_INPUT_OPPO_MR_SQUEEZE_VALUE"); return;
|
||||
case XRT_INPUT_OPPO_MR_TRIGGER_TOUCH: DG("XRT_INPUT_OPPO_MR_TRIGGER_TOUCH"); return;
|
||||
case XRT_INPUT_OPPO_MR_TRIGGER_VALUE: DG("XRT_INPUT_OPPO_MR_TRIGGER_VALUE"); return;
|
||||
case XRT_INPUT_OPPO_MR_GRIP_POSE: DG("XRT_INPUT_OPPO_MR_GRIP_POSE"); return;
|
||||
case XRT_INPUT_OPPO_MR_AIM_POSE: DG("XRT_INPUT_OPPO_MR_AIM_POSE"); return;
|
||||
case XRT_INPUT_OPPO_MR_THUMBSTICK_CLICK: DG("XRT_INPUT_OPPO_MR_THUMBSTICK_CLICK"); return;
|
||||
case XRT_INPUT_OPPO_MR_THUMBSTICK_TOUCH: DG("XRT_INPUT_OPPO_MR_THUMBSTICK_TOUCH"); return;
|
||||
case XRT_INPUT_OPPO_MR_THUMBSTICK: DG("XRT_INPUT_OPPO_MR_THUMBSTICK"); return;
|
||||
XRT_INPUT_LIST(XRT_INPUT_LIST_TO_CASE)
|
||||
}
|
||||
|
||||
#undef XRT_INPUT_LIST_TO_CASE
|
||||
|
||||
/*
|
||||
* No default case so we get warnings of missing entries.
|
||||
* Invalid values handled below.
|
||||
|
|
Loading…
Reference in a new issue