Make hand interaction a different xdev

* Don't override hands from other drivers on interaction profile change

* Rename *_hand to *_controller

* Fix derived pose and tracking control desync with hand interaction

* Reset pose history on switch from hand interaction, code cleanup
This commit is contained in:
Sapphire
2025-07-09 10:33:32 +02:00
committed by xytovl
parent 8f0ca7b04c
commit c682f8cd9f
9 changed files with 658 additions and 112 deletions
+2 -3
View File
@@ -39,9 +39,6 @@ class wivrn_controller : public xrt_device
pose_list aim;
pose_list palm;
hand_joints_list joints;
// hand_interaction
pose_list pinch_ext;
pose_list poke_ext;
std::vector<xrt_input> inputs_staging;
std::vector<xrt_input> inputs_array;
@@ -65,5 +62,7 @@ public:
void set_derived_pose(const from_headset::derived_pose &);
void update_tracking(const from_headset::tracking &, const clock_offset &);
void update_hand_tracking(const from_headset::hand_tracking &, const clock_offset &);
void reset_history();
};
} // namespace wivrn