Rework wivrn_session to be a xrt_system_devices

This will allow changing roles dynamically, and fixes some object
lifetime issues.
This commit is contained in:
Patrick Nicolas
2025-02-21 18:42:26 +01:00
parent b337800146
commit ad9020193d
3 changed files with 16 additions and 0 deletions
+3
View File
@@ -66,6 +66,9 @@ public:
void update_tracking(const from_headset::tracking &, const clock_offset &);
void update_hand_tracking(const from_headset::hand_tracking &, const clock_offset &);
// return true if changed
bool set_interaction_profile(interaction_profile);
private:
void set_inputs(device_id input_id, float value, int64_t last_change_time);
};