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
@@ -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 |
+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,
}