Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Add support for haptic feedback #204

Open
Apteryks opened this issue Oct 28, 2024 · 1 comment
Open

[feature request] Add support for haptic feedback #204

Apteryks opened this issue Oct 28, 2024 · 1 comment

Comments

@Apteryks
Copy link
Contributor

Hi,

I know the game has support for "force feedback", which is about creating resistance on a driving wheel controller. I think it'd also be nice to have support for "haptic" feedback, that is, a controller vibrating when there are collisions for example.

SDL2 apparently has an API for that. I play with a Nintendo Switch Pro gamepad, which has haptic feedback available; I guess other modern gamepads have that too.

Thanks for this great game!

@Apteryks
Copy link
Contributor Author

I've made some research as to why force feedback didn't already work with my gamepad; it appears the haptic feedback in SDL is more geared toward joysticks and driving wheels than gamepad, and that there is a different vibrating API in SDL 2 for gamepads; see: https://sourceforge.net/p/speed-dreams/tickets/1293/.

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

No branches or pull requests

1 participant