diff --git a/README.md b/README.md index 3ab9e4b..84c0dab 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Le script [launch.sh](launch.sh) prépare `libxkbcommon-x11.so` si besoin, compi | `--controller-device` | *(auto)* | Chemin `evdev` explicite du Steam Controller (ex. `/dev/input/event28`, auto-détecté par défaut) | | `--controller-expo` / `--controller-deadzone` | `0.25` / `0.08` | Expo cubique et zone morte du stick gauche du Steam Controller | | `--controller-invert-steering` | `false` | Inverse le sens de direction du Steam Controller | -| `--controller-vibration` | `50` | Intensité des vibrations haptiques du Steam Controller (`0` = OFF, `1..=100%`, réglable à chaud dans l'IHM) | +| `--controller-vibration` | `100` | Intensité des vibrations haptiques du Steam Controller (`0` = OFF, `1..=100%`, réglable à chaud dans l'IHM) | | `--telemetry-enabled` / `--telemetry-udp-port` | `false` / `14551` | Active l'OSD et écoute MAVLink / CRSF | | `--dvr-dir` / `--dvr-format` / `--dvr-mode` | `recordings` / `mkv` / `copy` | Dossier, conteneur (`mkv`, `mp4`) et mode (`copy`, `composited`) | | `--log-file` | `steamframe_fpv.log` | Fichier de journalisation persistant | diff --git a/src/config.rs b/src/config.rs index 4f960fb..424c5b1 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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") diff --git a/src/controller.rs b/src/controller.rs index 4bb01cf..54ab49e 100644 --- a/src/controller.rs +++ b/src/controller.rs @@ -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, diff --git a/src/engine.rs b/src/engine.rs index 71d3810..5243fcf 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -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, }