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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user