- C# 92.6%
- PowerShell 4.2%
- Inno Setup 2%
- Shell 1.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
CI / test (pull_request) Successful in 5m40s
CI / lint (pull_request) Successful in 3m38s
CI / CI (pull_request) Successful in 4s
CI / lint (push) Successful in 4m5s
Release / Release (push) Successful in 1m4s
CI / test (push) Successful in 4m58s
CI / CI (push) Successful in 5s
|
||
| .forgejo/workflows | ||
| docs | ||
| installer | ||
| src | ||
| testdata/golden | ||
| tests | ||
| tools | ||
| .gitignore | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| CLAUDE.md | ||
| Directory.Build.props | ||
| G27Driver.slnx | ||
| global.json | ||
| LICENSE | ||
| mise.toml | ||
| README.md | ||
| releasaurus.toml | ||
| renovate.json | ||
g27d
Makes a Logitech G27 racing wheel work in modern Windows 11 games with force feedback. One installer. No Logitech software, no EmuWheel, no vJoy, nothing else to run.
Games see a Logitech G29, which every current racing game supports out of the box (Forza Horizon 6, Forza Motorsport, Assetto Corsa, iRacing, BeamNG, ETS2, F1, Dirt).
Install (4 steps, about 3 minutes)
- Download
g27d-setup-<version>.exefrom the latest release. - Run it. Windows may show "Windows protected your PC". Click More info, then Run anyway. Click Yes on the admin prompt.
- Click Next until it finishes. It installs to
Program Files\g27dand starts by itself, now and at every logon. The first install also adds HidHide (a small Microsoft-signed driver that hides the raw wheel from games) and asks for one restart. Say yes. - Plug in the wheel (before or after, order does not matter). Wait 10 seconds. The rev lights sweep once: ready.
Done.
Check it worked: press Win+R, type joy.cpl, Enter. You should see G29 Driving Force Racing Wheel and
nothing named G27. Turn the wheel: the G29's X axis moves.
In the game
- Forza Horizon 6 / Forza Motorsport: Settings → Controls. It detects "Logitech G29" on its own. If it lists two wheels, choose the G29.
- Other games: choose Logitech G29 in the wheel or controller list. If a game offers a G27 entry too, still choose G29.
- Leave the game's force-feedback settings at their defaults first. Tune one slider at a time after that.
Rev lights
The five red lights show engine RPM when the game streams telemetry. Forza: Settings → HUD and Gameplay →
Data Out: ON, IP 127.0.0.1, port 5300. Other games: not yet.
Change settings
Settings file: C:\ProgramData\g27d\config.json (also in Start Menu → g27d → "g27d settings").
| Setting | Default | What it does |
|---|---|---|
RangeDegrees |
900 | Wheel rotation lock to lock. 900 = full. |
MasterGain |
1.0 | Overall force strength. 0.5 = half. |
InvertForce |
true | Flip if the wheel runs away from centre instead of returning to it. |
SpringGain, DamperGain, FrictionGain |
1.0 | Strength of centering, heaviness, and friction effects. |
ConstantGain |
1.0 | Strength of road and collision forces. |
Leds |
true | Rev lights on. |
TelemetryPort |
5300 | UDP port Forza's Data Out sends to. 0 turns telemetry off. |
HideRealWheel |
true | Hide the raw G27 from games (needs HidHide, installed by the setup). |
After editing: unplug and re-plug the wheel, or log out and in. The service re-reads the file on the next connect.
Something is wrong
| Symptom | Do this |
|---|---|
No G29 in joy.cpl |
Unplug the wheel, wait 5 s, plug it back into a USB port on the PC itself, not a hub. |
| Still no G29 | Start Menu → g27d → "g27d log". The last lines say what happened. |
| Wheel runs away from centre on its own | Flip InvertForce (see above). |
| Forces too strong or weak | Change MasterGain. |
| Game shows two wheels (a G27 and a G29) | HidHide is not active yet: restart the PC once. Meanwhile pick the G29. |
| Wheel is in 200° mode | The service switches it to 900° on connect. Re-plug once. |
Log file: C:\ProgramData\g27d\g27d.log
Uninstall
Settings → Apps → g27d → Uninstall. Or Start Menu → g27d → "Uninstall g27d". The wheel goes back to being a plain USB device and is un-hidden. HidHide stays installed (it is inert with an empty list); remove it from Settings → Apps too if you want a spotless machine.
How it works (for the curious)
G27 (USB, raw HID) ──▶ g27d ──▶ virtual "Logitech G29" (HID + standard force-feedback interface)
▲ │ │
└── force slots ──┘◀── effect callbacks ◀──┘◀── DirectInput / Windows.Gaming.Input / games
- g27d opens the G27 directly, switches it to native 900° mode, reads wheel, pedals, shifter and buttons,
and drives force feedback with the wheel's own slot commands (documented in the Linux
hid-lg4ffdriver). - It presents a virtual G29 through HIDMaestro (MIT): a user-mode device hosted by Windows' own HID stack. No kernel driver, no test-signing, cannot blue-screen.
- The virtual wheel's descriptor carries a standard HID PID force-feedback block. Every effect a game sends (constant, spring, damper, friction, periodic, ramp, envelopes, gain) is translated to the G27.
- Runs as an elevated logon task. Survives unplugging and re-plugging.
Debug flags: g27d --console shows a window, g27d --wheel-only drives the G27 without the virtual wheel (no admin), g27d --verbose logs every force packet.
g27d --version prints the version and exits. The exe has no window. From cmd, use start /wait g27d --version. From PowerShell, use g27d --version | Out-Host.
Full design: docs/DESIGN.md. Wire protocol: docs/g27-protocol.md. Licenses: docs/THIRD-PARTY.md.
Build from source
Windows box with: .NET 10 SDK, the HIDMaestro release unpacked to %USERPROFILE%\tools\HIDMaestro,
and the Tools.InnoSetup NuGet package unpacked to %USERPROFILE%\tools\InnoSetup.
.\tools\package.ps1 # -> dist\g27d-setup-<version>.exe
For a dev loop without the installer: dotnet build src\G27Driver -c Release, then run g27d.exe.
g27d --wheel-only drives the G27 without creating the virtual wheel (no admin). g27d --verbose logs every
force packet (slows force feedback; for debugging only).
Credits
Written by Claude Fable 5.1 (Anthropic) working with Exikle, September 2026: research, protocol extraction,
design, code, installer and docs. Built on HIDMaestro, HidSharp, and the Linux hid-lg4ff driver's documentation
of the G27 protocol. See docs/THIRD-PARTY.md.
Status
| Milestone | State |
|---|---|
| 1. Wheel I/O: raw read, native mode, 900°, force commands | Done, verified on hardware |
| 2. Virtual G29 visible to games | Done, verified (joy.cpl, Windows.Gaming.Input) |
| 3. Forza sees a racing wheel with a force-feedback motor | Done, verified |
| 4. Force feedback in game: DirectInput and Windows.Gaming.Input paths | Done, verified in Forza Horizon 6 (0.3.6) |
| 5. Installer, logon task, cleanup of the old stack | Done |
| 6. Hide the real G27 from games | Done (HidHide, bundled in the installer) |
| 7. Rev LEDs from game telemetry | Done for Forza (Data Out on UDP 5300) |