xrt: Add extra HP Reverb G2 controller click controls

Add XRT_INPUT defines for HP G2 WMR controller home and squeeze click
inputs
This commit is contained in:
Jan Schmidt 2023-05-01 03:25:56 +10:00 committed by Jakob Bornecrantz
parent 7e18fac224
commit 3c641c8490

View file

@ -898,6 +898,8 @@ enum xrt_input_name
XRT_INPUT_G2_CONTROLLER_THUMBSTICK = XRT_INPUT_NAME(0x00F8, VEC2_MINUS_ONE_TO_ONE),
XRT_INPUT_G2_CONTROLLER_GRIP_POSE = XRT_INPUT_NAME(0x00F9, POSE),
XRT_INPUT_G2_CONTROLLER_AIM_POSE = XRT_INPUT_NAME(0x00FA, POSE),
XRT_INPUT_G2_CONTROLLER_HOME_CLICK = XRT_INPUT_NAME(0x00FB, BOOLEAN),
XRT_INPUT_G2_CONTROLLER_SQUEEZE_CLICK = XRT_INPUT_NAME(0x00FC, BOOLEAN),
XRT_INPUT_ODYSSEY_CONTROLLER_MENU_CLICK = XRT_INPUT_NAME(0x0100, BOOLEAN),
XRT_INPUT_ODYSSEY_CONTROLLER_SQUEEZE_CLICK = XRT_INPUT_NAME(0x0101, BOOLEAN),