Overrideable foveation center

This commit is contained in:
Guillaume Meunier
2025-07-26 11:18:58 +02:00
parent ce437ce2b4
commit c3ec979dde
16 changed files with 410 additions and 201 deletions
+10 -1
View File
@@ -430,11 +430,19 @@ struct session_state_changed
{
XrSessionState state;
};
struct user_presence_changed
{
bool present;
};
struct override_foveation_center
{
bool enabled;
float pitch;
float distance;
};
using packets = std::variant<
crypto_handshake,
pin_check_1,
@@ -454,7 +462,8 @@ using packets = std::variant<
visibility_mask_changed,
refresh_rate_changed,
session_state_changed,
user_presence_changed>;
user_presence_changed,
override_foveation_center>;
} // namespace from_headset
namespace to_headset