Repository navigation
🏁 FH DualSense v2.0.0
The biggest update so far: a new window app, haptics you can feel from the game's sound, shift lights, a redline learned per car, and every screen in 7 languages, on a smaller, faster codebase.
✨ Highlights
- 🖥️ New window app (Qt): smooth resizing, low idle CPU, minimize to tray, battery level in the status bar. Sharp at 100–200% Windows scaling and fits small screens (1366×768, laptops at 150%).
- 🎧 Haptics: the game's sound (the engine) on the controller's haptic actuators while you race, over USB and Bluetooth. Strength up to 500%; your speaker volume doesn't matter.
- 💡 Shift lights: the lightbar goes green → yellow → red as the revs climb, the player LEDs fill like a rev bar, and both blink at the shift point. ABS light: the mic LED blinks with the ABS rumble. Brightness setting (30% by default).
- 🔴 Learned redline: the app finds each car's real rev limiter (where Forza cuts power at full throttle), so the redline buzz and the shift lights fire at the right rpm. No more per-car tweaking.
- 🌍 Every screen translated: English, Deutsch, 日本語, Русский, Türkçe, 简体中文, 繁體中文.
🎮 Triggers
- One shift point (share of the learned redline, 93% by default) drives both the redline buzz and the light blink.
- The end-of-travel wall belongs to Shift thump: switch the thump off and the wall goes too.
- All trigger effects stay in the code (including the unused firmware ones) with a preview tool, ready for future effects.
💡 Lights
- Turned off, a light is handed back (switch-off, game paused or closed, app exit): the lightbar goes very dim white, the player LEDs and mic LED off. Nothing keeps driving it.
- Lights are sent only when they change, so the app doesn't keep overriding other apps.
- In DSX mode DSX keeps the lights.
🎧 Haptics
- Turned off, haptics are completely off: no audio capture, no reports, the controller's sound device (and your AUX headphones) untouched.
- The controller plays either haptics or a game's rumble, never both, so Forza's own vibration takes over while it plays.
- Linux needs PulseAudio or PipeWire (USB: the controller's "Analog Surround 4.0" profile). macOS can't capture game sound.
🌐 Telemetry and network
- New Data Out IP Address setting (System tab, default
127.0.0.1):0.0.0.0for Forza on another PC,::1for IPv6,::for every address. Forwarding (e.g. to SimHub) works to IPv6 targets too. - Up to date with the Forza Horizon 6 Data Out layout (puddle depth read correctly; car group and smashable fields named).
- "No UDP packets yet" only warns when nothing has ever arrived, not on every pause.
- System tab shows whether the game is running (name, PID, since when).
🔌 DSX
- Triggers are re-sent every 3 s (DSX drops a mod's changes about 60 s after its last packet).
- Reads DSX's answers ("DSX: active" means DSX answered lately) and the port DSX publishes.
🖥️ App and terminal UI
- Lights and Haptics settings sit together on the Controls tab.
- Logs start paused and still keep warnings and errors.
- Terminal UI (
--tui) works in narrow terminals; long errors wrap. - Ctrl+C closes the window app; the tray menu is translated; Reset to defaults disarms after 4 s.
🧹 Under the hood
- One shared backend for the window app, the terminal UI and
--headless; Python 3.13+. - Dropped customtkinter, pystray, pillow, PyGObject and dotenv; about 2,000 lines less code than v1.6.2.
- Prerelease channel works (
PRERELEASE=truein the launcher); launcher arguments like--port 5301pass through correctly.
⬆️ Upgrading from v1.6.x
- Your settings and profiles are kept. New settings start at their defaults: shift lights and ABS light on at 30% brightness, haptics off.
- If Forza's telemetry doesn't arrive with
127.0.0.1, write::1both in Forza and in System → Data Out IP Address. - Want haptics? Turn on Controls → Haptics → Engine sound on the controller.
⚠️ Known limits
- Haptics and Forza's vibration can't play at the same time (the controller plays one source).
- Steam Input may set its own lightbar color in between.
- The standalone
.exe/ Linux binaries are experimental and don't self-update; the launcher scripts are recommended.
🤝 Thanks
- @TiansuoLi for the shift lights, ABS light and redline detection (#87).
- Everyone who sponsors this project 💛
✅ Recommended: launcher scripts
Download win_start.bat (Windows) or linux_start.sh (Linux), drop it in any folder, and double-click. The launcher fetches fhds.zuv.py, installs uv if needed, runs the app, and self-updates on every launch. This is the supported path and works the same across all Windows versions.
🧪 Experimental: standalone binaries
FH-DualSense.exe (Windows) and FH-DualSense-vX.Y.Z (Linux) are one-file GUI builds (no install, MEIPASS auto-cleans on exit). They are experimental and do not self-update. The Linux binary is built on Ubuntu, so very old or very different distros may need the launcher instead. Prefer the launcher scripts unless you specifically can't run them.
Heads up
- The bundle self-updates each run from this release. Keep
fhds.zuv.pynext to your launcher script.- Settings live in
app/.zuv/fhds/data/user_preferences.jsonand survive updates.- Coming from v1.6.2 or older: your settings move to
app/.zuv/fhds/data/on the first start, nothing to do. Afterwardsapp/.zuv/fhds.zuv_*,app/.zuv/uv-cacheand theapp/.zuv/.zuv-*files are unused and safe to delete. Going back to an older version won't see those settings unless you copyapp/.zuv/fhds/data/*toapp/.zuv/data/.- Linux: launcher offers to install
70-dualsense.rulesto/etc/udev/rules.d/once.- Updates: the app asks before installing one. Turn the check off in the System tab, or set
ZUV_AUTO_UPDATE=1(install without asking) /0(never check).- Prerelease channel: set
PRERELEASE=truein the launcher. Prerelease bundles follow the newest prerelease (rollingv999.0.0), not the stable release.
Third-party licenses: the window UI uses Qt for Python (PySide6), licensed under the GNU LGPL v3, used unmodified. The standalone binaries include it and can be rebuilt against any compatible PySide6 from the source in this release (packaging/).
Full Changelog: v1.6.2...v2.0.0