feat: make head tracking optional with hot-toggle button and CLI flag

This commit is contained in:
bleackstorm committed 2026-11-05 19:40:54 +01:00
1 parent 90f80ec5cd
commit 886eed7825
5 files changed
+194 -71

No files matched your search

+4
View File
@@ -80,6 +80,10 @@ pub struct AppConfig {
#[arg(long, default_value_t = 3.2)]
pub screen_width_m: f32,
/// Activer ou désactiver l'émetteur Head-Tracking vers le RadioMaster Nomad (ON/OFF)
#[arg(long, default_value_t = false)]
pub head_tracking_enabled: bool,
/// Adresse IP du Backpack Wi-Fi du module RadioMaster Nomad (en mode AP ELRS : 10.0.0.1)
#[arg(long, default_value = "10.0.0.1")]
pub nomad_ip: String,