Skip to content

SDL simulated vibration feature added#308

Open
pizzzza19 wants to merge 3 commits intotrzy:masterfrom
pizzzza19:hle_vibration
Open

SDL simulated vibration feature added#308
pizzzza19 wants to merge 3 commits intotrzy:masterfrom
pizzzza19:hle_vibration

Conversation

@pizzzza19
Copy link

@pizzzza19 pizzzza19 commented Mar 5, 2026

Using SDL_hapticRumblePlay commands to simulate wheel board vibration for game pads.
Tested with Xbox one windows controller.
Tested with Daytona USA 2 and Scud Race.
For dayto2pe, you can feel the haptic difference between each car.

Read from codes, Wheel board has 4 functions

  • Centering
  • Friction
  • ConstantForce (FFB torque)
  • Vibrate

SDL also has FFB feature and it can be possible to simulate them too. (Future TODO list)
Only vibration can simulate with game pads for now.

All of signals came from main machine boards, so we can path-through the value directly to SDL for skipping board EPROMs.

Known minor bugs

  • vibration activated after receiving any 1st contact vibration.
  • Make sure disable "XInputStereoVibration" on menu or gamepad keep receiving vibration.

SDL vibration available without drive board ROM.
SDL vibration added without driveboard ROMs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant