u/pp: Add new xrt input enums to printing function

This commit is contained in:
Jakob Bornecrantz 2023-03-03 19:30:03 +00:00
parent 3ab34071be
commit 006bdbc400

View file

@ -241,6 +241,38 @@ u_pp_xrt_input_name(struct u_pp_delegate dg, enum xrt_input_name name)
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_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_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;
default: break;
}