chore(controller): set default Steam Controller vibration intensity to 100%

This commit is contained in:
bleack committed 2026-11-21 20:49:07 +01:00
1 parent c8f27d32e3
commit 7cfc7f5d34
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ pub struct AppConfig {
pub controller_invert_steering: bool,
/// Intensité des vibrations haptiques du Steam Controller (0 = désactivé, 1..=100%)
#[arg(long, default_value_t = 50)]
#[arg(long, default_value_t = 100)]
pub controller_vibration: u8,
/// Codec vidéo reçu depuis le VRX OpenIPC / Ruby ("h264" ou "h265")
+1 -1
View File
@@ -228,7 +228,7 @@ impl Default for SteamControllerState {
throttle_crsf: CRSF_CHANNEL_MID,
brake_crsf: CRSF_CHANNEL_MID,
clutch_crsf: CRSF_CHANNEL_MID,
vibration_pct: 50,
vibration_pct: 100,
rumble_left_pct: 0,
rumble_right_pct: 0,
packets_sent: 0,
+1 -1
View File
@@ -313,7 +313,7 @@ impl FpvEngineController {
telemetry_enabled_flag: Arc::new(AtomicBool::new(initial_telemetry_enabled)),
head_tracking_enabled_flag: Arc::new(AtomicBool::new(initial_head_tracking_enabled)),
control_source_flag: Arc::new(AtomicU8::new(ControlSource::G29.as_u8())),
controller_vibration_pct: Arc::new(AtomicU8::new(50)),
controller_vibration_pct: Arc::new(AtomicU8::new(100)),
controller_rumble_test: Arc::new(AtomicBool::new(false)),
worker_handle: None,
}