Your G27, wearing a G29 badge. One installer, force feedback that actually works, and modern racing games none the wiser.
  • C# 92.6%
  • PowerShell 4.2%
  • Inno Setup 2%
  • Shell 1.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dixon D'Cunha 109b818b0f
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
chore(ci): reuse project restore and test builds
2026-12-01 01:00:13 -05:00
.forgejo/workflows fix(deps): Update all non-major dependencies (#13) 2026-11-30 07:21:45 +00:00
docs docs: the components table in plain English 2026-11-08 00:36:41 -05:00
installer fix(installer): stop the running service before file copy; detect HidHide by its service key 2026-09-12 13:43:46 -04:00
src refactor(hidhide): the state key and the device-list parsing move to Core with tests 2026-11-08 01:05:36 -05:00
testdata/golden docs: AGENTS.md and the golden-vector notes in plain English 2026-11-07 21:01:37 -05:00
tests fix(deps): Update all non-major dependencies (#8) 2026-11-09 12:46:16 +00:00
tools chore: check-windows answers --version through a script 2026-11-07 20:55:37 -05:00
.gitignore chore: armature plumbing (CI, release, Renovate, version in Directory.Build.props) 2026-11-07 20:14:12 -05:00
AGENTS.md docs: use the Plain English rule from the armature template and pin to d20e9a1 2026-11-08 02:16:15 -05:00
CHANGELOG.md chore(main): release g27-driver v0.4.0 2026-11-08 08:12:42 +00:00
CLAUDE.md chore: armature plumbing (CI, release, Renovate, version in Directory.Build.props) 2026-11-07 20:14:12 -05:00
Directory.Build.props chore(main): release g27-driver v0.4.0 2026-11-08 08:12:42 +00:00
G27Driver.slnx refactor: Windows adapters, entry point and main on armature's shape; the old Service project is gone 2026-11-07 20:53:59 -05:00
global.json chore: armature plumbing (CI, release, Renovate, version in Directory.Build.props) 2026-11-07 20:14:12 -05:00
LICENSE feat(release): 0.2.0 single-exe installer, hot-plug wheel handling, user README 2026-09-12 12:31:45 -04:00
mise.toml chore(ci): reuse project restore and test builds 2026-12-01 01:00:13 -05:00
README.md docs: list the missing Overrides, correct the HidHide and main ones, and mention --version in the README 2026-11-08 01:05:56 -05:00
releasaurus.toml chore(release): skip the commit the v0.3.7 tag missed and word the --version commit as a feature 2026-11-08 01:05:35 -05:00
renovate.json chore: armature plumbing (CI, release, Renovate, version in Directory.Build.props) 2026-11-07 20:14:12 -05:00

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)

  1. Download g27d-setup-<version>.exe from the latest release.
  2. Run it. Windows may show "Windows protected your PC". Click More info, then Run anyway. Click Yes on the admin prompt.
  3. Click Next until it finishes. It installs to Program Files\g27d and 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.
  4. 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-lg4ff driver).
  • 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)