21 XrActionSet actionSet{ XR_NULL_HANDLE };
22 XrAction triggerAAction{ XR_NULL_HANDLE };
23 XrAction triggerBAction{ XR_NULL_HANDLE };
24 XrAction poseAction{ XR_NULL_HANDLE };
25 XrAction joystickAction{ XR_NULL_HANDLE };
26 XrAction vibrateAction{ XR_NULL_HANDLE };
27 XrAction quitAction{ XR_NULL_HANDLE };
28 std::array<XrPath, XRSide::COUNT> handSubactionPath;
29 std::array<XrSpace, XRSide::COUNT> handSpace;
30 std::array<float, XRSide::COUNT> handScale = { {1.0f, 1.0f} };
31 std::array<XrBool32, XRSide::COUNT> handActive;
35 void initializeActions();
36 void initializeHands();
38 void updateHandLocation(
const Matrix<fltp08>& global_transform, XrTime predictedDisplayTime, XrSpace app_space);
43 XrInstance xrInstance()
const {
return m_device->xrInstance(); }
44 XrSystemId xrSystemID()
const {
return m_device->xrSystemID(); }
45 XrSession xrSession()
const {
return m_xr_session; }
48 XrSession m_xr_session{ XR_NULL_HANDLE };