Forward XR_EXT_user_presence

Closes #258
This commit is contained in:
Sapphire
2025-07-04 23:43:06 +02:00
committed by xytovl
parent f43ee229f1
commit 3ac31fe5cc
10 changed files with 67 additions and 1 deletions
+8 -1
View File
@@ -216,6 +216,7 @@ struct headset_info_packet
std::array<XrFovf, 2> fov;
bool hand_tracking;
bool eye_gaze;
bool presence;
bool palm_pose;
bool passthrough;
face_type face_tracking;
@@ -409,6 +410,11 @@ struct refresh_rate_changed
float to;
};
struct user_presence_changed
{
bool present;
};
using packets = std::variant<
crypto_handshake,
pin_check_1,
@@ -426,7 +432,8 @@ using packets = std::variant<
timesync_response,
battery,
visibility_mask_changed,
refresh_rate_changed>;
refresh_rate_changed,
user_presence_changed>;
} // namespace from_headset
namespace to_headset