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:
@@ -23,6 +23,7 @@
|
||||
#include "driver/app_pacer.h"
|
||||
#include "wivrn_connection.h"
|
||||
#include "wivrn_controller.h"
|
||||
#include "wivrn_hand_interaction.h"
|
||||
#include "wivrn_hmd.h"
|
||||
#include "wivrn_ipc.h"
|
||||
#include "wivrn_packets.h"
|
||||
@@ -105,8 +106,14 @@ class wivrn_session : public xrt_system_devices
|
||||
};
|
||||
|
||||
wivrn_hmd hmd;
|
||||
wivrn_controller left_hand;
|
||||
wivrn_controller right_hand;
|
||||
wivrn_controller left_controller;
|
||||
int32_t left_controller_index;
|
||||
wivrn_hand_interaction left_hand_interaction;
|
||||
int32_t left_hand_interaction_index;
|
||||
wivrn_controller right_controller;
|
||||
int32_t right_controller_index;
|
||||
wivrn_hand_interaction right_hand_interaction;
|
||||
int32_t right_hand_interaction_index;
|
||||
std::unique_ptr<wivrn_eye_tracker> eye_tracker;
|
||||
std::unique_ptr<wivrn_fb_face2_tracker> fb_face2_tracker;
|
||||
std::unique_ptr<wivrn_htc_face_tracker> htc_face_tracker;
|
||||
|
||||
Reference in New Issue
Block a user