Send refresh rate change event from client

This commit is contained in:
Patrick Nicolas
2025-01-07 20:07:10 +01:00
parent da14e8450d
commit 5620c25705
12 changed files with 73 additions and 77 deletions
+22 -1
View File
@@ -287,7 +287,28 @@ struct battery
bool charging;
};
using packets = std::variant<crypto_handshake, pin_check_1, pin_check_3, headset_info_packet, feedback, audio_data, handshake, tracking, trackings, hand_tracking, inputs, timesync_response, battery, visibility_mask_changed>;
struct refresh_rate_changed
{
float from;
float to;
};
using packets = std::variant<
crypto_handshake,
pin_check_1,
pin_check_3,
headset_info_packet,
feedback,
audio_data,
handshake,
tracking,
trackings,
hand_tracking,
inputs,
timesync_response,
battery,
visibility_mask_changed,
refresh_rate_changed>;
} // namespace from_headset
namespace to_headset