Enabling haptic rumble on pedals through SDL #73
-
I've been digging into the driver and can see that there is code to enable haptic rumble on the throttle and brake pedals of the clubsport pedals v3. I am working with a custom steering wheel driver that is sending force feedback through SDL_HapticNewEffect and other SDL Haptic commands. I tried running SDL_HapticRumblePlay, but that just plays haptic feedback in the steering wheel. I was wondering if you could give any insight on how your driver catches SDL commands to set rumble on the pedals (which are different axes of the event joystick)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
currently, rumble of pedals is not wired up to FFB linux API, so it can not work with SDL Haptic commands.
However, when you plug-in the pedals via USB directly to the PC, you'll get a
rumble
sysfs file. This file you can use to control rumble of the pedals by writing to it, seeClubSport Pedals V3
section in the readme.