Force feedback for
sim racing on Mac
Use your Logitech wheel in Windows racing sims on Apple Silicon.
How the sim drives the motor
In DirectInput mode, the game starts a constant-force effect, then changes its magnitude. The DLL shares the effect with the Mac app. The app calculates torque and sends USB reports to the wheel.
- game.exe
DirectInput8Create(…, 0x0800, …) - game.exe
EnumDevices(DI8DEVCLASS_GAMECTRL, …)G923 Racing Wheel for PlayStation and PC - game.exe
CreateDevice(instanceGuid, …) - game.exe
SetDataFormat(&c_dfDIJoystick2) - game.exe
Acquire()DI_OK - game.exe
GetDeviceState(sizeof(DIJOYSTATE2), …)lX = 40000 - game.exe
CreateEffect(GUID_ConstantForce, …)lMagnitude = 5000 · dwGain = 10000 · direction = +X - game.exe
fx->Start(1, 0) - dinput8.dll
publish() → ffb-v2.binkind = 1 · playing = 1 · magnitude = 5000 - Kerbform
readForce() → EffectEngine.force()-5000 / 10000 = -0.500 - USB HID
IOHIDDeviceSetReport(…)11 00 41 80 80 80 00 - game.exe
fx->SetParameters(…, DIEP_TYPESPECIFICPARAMS)lMagnitude = -7000 - dinput8.dll
publish() → ffb-v2.binplaying = 1 · magnitude = -7000 - Kerbform
readForce() → EffectEngine.force()-(-7000) / 10000 = +0.700 - USB HID
IOHIDDeviceSetReport(…)11 00 D9 80 80 80 00 - game.exe
fx->SetParameters(…, DIEP_TYPESPECIFICPARAMS)lMagnitude = -4400 - dinput8.dll
publish() → ffb-v2.binplaying = 1 · magnitude = -4400 - Kerbform
readForce() → EffectEngine.force()-(-4400) / 10000 = +0.440 - USB HID
IOHIDDeviceSetReport(…)11 00 B8 80 80 80 00 - game.exe
fx->SetParameters(…, DIEP_TYPESPECIFICPARAMS)lMagnitude = -1800 - dinput8.dll
publish() → ffb-v2.binplaying = 1 · magnitude = -1800 - Kerbform
readForce() → EffectEngine.force()-(-1800) / 10000 = +0.180 - USB HID
IOHIDDeviceSetReport(…)11 00 97 80 80 80 00 - game.exe
fx->SetParameters(…, DIEP_TYPESPECIFICPARAMS)lMagnitude = 2400 - dinput8.dll
publish() → ffb-v2.binplaying = 1 · magnitude = 2400 - Kerbform
readForce() → EffectEngine.force()-(2400) / 10000 = -0.240 - USB HID
IOHIDDeviceSetReport(…)11 00 62 80 80 80 00 - game.exe
fx->SetParameters(…, DIEP_TYPESPECIFICPARAMS)lMagnitude = 5600 - dinput8.dll
publish() → ffb-v2.binplaying = 1 · magnitude = 5600 - Kerbform
readForce() → EffectEngine.force()-(5600) / 10000 = -0.560 - USB HID
IOHIDDeviceSetReport(…)11 00 39 80 80 80 00 - game.exe
fx->SetParameters(…, DIEP_TYPESPECIFICPARAMS)lMagnitude = 3100 - dinput8.dll
publish() → ffb-v2.binplaying = 1 · magnitude = 3100 - Kerbform
readForce() → EffectEngine.force()-(3100) / 10000 = -0.310 - USB HID
IOHIDDeviceSetReport(…)11 00 59 80 80 80 00 - game.exe
fx->SetParameters(…, DIEP_TYPESPECIFICPARAMS)lMagnitude = 800 - dinput8.dll
publish() → ffb-v2.binplaying = 1 · magnitude = 800 - Kerbform
readForce() → EffectEngine.force()-(800) / 10000 = -0.080 - USB HID
IOHIDDeviceSetReport(…)11 00 76 80 80 80 00 - game.exe
fx->Stop() - dinput8.dll
publish() → ffb-v2.binplaying = 0 - Kerbform
readForce() → EffectEngine.force()No active effects → 0.000 - USB HID
IOHIDDeviceSetReport(…)11 00 80 80 80 80 00
From the sim to the wheel and back. How DirectInput connects a Windows sim to Kerbform on macOS.
Inside Wine
Windows gameDirectInput 8Runs through CrossOver, NotProton or Wine.
Game bridgedinput8.dllLoads beside the game’s .exe and presents a virtual Logitech wheel.
Between them
Shared memoryffb-v2.binThe DLL and Mac app read and write the same file in /tmp.
On your Mac
KerbformmacOS menu bar appTurns game effects into motor commands.
Logitech wheelUSB HIDA G923 or G29 connected to the Mac over USB.
On a G923, Kerbform can use telemetry to simulate TrueForce. Beta 5 also supports the game’s own effects through Logitech’s SDK.
Compare the two TrueForce modes Read the shared memory protocolWhat you feel through the wheel.
The wheel gets heavier through the turn. On the G923, supported game telemetry adds a brief vibration when you hit the kerb.
ⓘ
Manage your wheel and games
Force feedback
Feel cornering load, spring force and damping through the wheel.
Simulated TrueForce
On the G923, feel engine vibration, kerbs and tyre slip from supported game telemetry.
Steering and pedals
Set the steering range from 40° to 900° and adjust the steering and pedal response curves.
Game library
Install the bridge for each game. Uninstall it to undo its changes to the game folder and Wine settings.
Live inputs
Watch steering, throttle, brake and clutch change as you move them.
Kerbform dashboard
Choose a screen in the sidebar to adjust the wheel or try installing a game bridge.
Set up a game
Connect your wheel
Plug your wheel into your Mac and open Kerbform. Allow Input Monitoring if macOS asks.
Install the bridge
Quit the game. Find it in Game library and click Install.
If the game is missing, use Add Game and select its
.exe.Calibrate your wheel
With the game closed and your hands off the wheel, click Detect under Force feedback.
Launch the game, select your wheel and calibrate it in the game’s controls.
Kerbform 0.3.0 · Beta 5
Native TrueForce on Mac. Feel the effects built into the sim.
From game telemetry
Simulated TrueForce
Inside Wine
Windows sim with supported telemetry- dinput8.dll
Presents the wheel to the game and sends DirectInput effects to the Mac app through ffb-v2.bin.
- Motor output
- Kerbform calculates steering force and uses telemetry to add engine vibration, kerb rumble and tyre slip.
From the game’s Logitech SDK
Native TrueForce
Inside Wine
64-bit Windows sim with native TrueForce- dinput8.dll
Presents the wheel to the game and attaches Kerbform’s helper when the game loads the SDK.
- trueforce_sdk_x64.dll
Logitech’s signed SDK. The game calls it to send its own TrueForce effects.
- cfb_trueforce_x64.dll
Kerbform’s helper routes the SDK’s wheel reports through shared memory in hid-v1.bin.
- Motor output
- The Mac app forwards the reports to the G923 over USB using IOKit. While the SDK is active, it controls the motor.
In both modes, Kerbform sends steering, pedal and button inputs back to the game through the DirectInput bridge. Native TrueForce works without patching Wine.
Enable native TrueForce
- Open TrueForce in Kerbform and click Download from Logitech, or use Choose File… to import the signed SDK you already have.
- Quit the game. In Game library, click Update or Install for that game to register the SDK in its Wine prefix.
- Turn on Logitech TRUEFORCE in the TrueForce settings, then launch the game.
The switch is off by default. Turning it on replaces simulated TrueForce. Games without SDK support still get standard force feedback. We tested native TrueForce in Assetto Corsa Competizione under NotProton.
Beta 5 downloads and release notesCompatibility
Report a game- Wheels
- The G923 for PlayStation / PC supports native and simulated TrueForce. G29 force feedback is untested on hardware. Beta 5 recognizes the Xbox G923, RS50 and G PRO, but motor output for those wheels is still in development.
- Mac
- Apple Silicon running macOS 13 Ventura or later.
- Games
- Kerbform supports 32-bit and 64-bit DirectInput 8 games running through CrossOver, NotProton or Wine. We’ve tested Assetto Corsa, Assetto Corsa Competizione and Assetto Corsa EVO.
