Page 1 of 1

Force Feedback in Linux

PostPosted: Mon Aug 14, 2017 11:58 am
by Shoegazer
Hello, just curious what it would take to bring Force Feedback to Linux. This is the only missing feature from the Windows version as I can tell, and would be really nice as there are plenty of Model 3-based games that support it - without which it just isn't the same... ;)

Re: Force Feedback in Linux

PostPosted: Mon Aug 14, 2017 3:41 pm
by Bart
Shoegazer wrote:Hello, just curious what it would take to bring Force Feedback to Linux. This is the only missing feature from the Windows version as I can tell, and would be really nice as there are plenty of Model 3-based games that support it - without which it just isn't the same... ;)


Unfortunately, I'm not sure what APIs, if any, exist for this under Linux. Nik wrote the original code. SDL 2.x might support force feedback and the project should eventually migrate to that.

Re: Force Feedback in Linux

PostPosted: Sat Aug 26, 2017 8:34 am
by Shoegazer
Hey there, missed your reply for some reason. SDL2 indeed supports force feedback/rumble effects, and is now fairly stable (earlier releases - not so much). Some emulator projects use evdev to get a bit closer to the metal but SDL2 should work great as well. It would be so nice to have such effects finally working!

Re: Force Feedback in Linux

PostPosted: Fri Sep 01, 2017 8:03 am
by Bart
The force feedback work was all Nik. In fact, the entire input system is. He added it after my 0.1a release. It's hard for me to test the steering wheel stuff because I don't have one. I definitely agree, though, that we should move to SDL2 soon and that force feedback should be added. I'm hoping someone can help contribute that code when the time comes.

Re: Force Feedback in Linux

PostPosted: Fri Sep 29, 2017 1:20 pm
by Shoegazer
Hey there, again not getting emailed on posts for some reason - perhaps it went to junk mail.

Anyway, I'd be totally thrilled to see SDL2 support and I have a steering wheel with FF to help test if anyone becomes inspired enough to migrate to it. :)

Re: Force Feedback in Linux

PostPosted: Mon Dec 24, 2018 4:17 am
by addamm
Shoegazer wrote:Hey there, again not getting emailed on posts for some reason - perhaps it went to junk mail.

Anyway, I'd be totally thrilled to see SDL2 support and I have a steering wheel with FF to help test if anyone becomes inspired enough to migrate to it. :)


YAT (Yet Another Tux) here that would really appreciate force feedback support for Supermodel here in Linux ;) 8-)

That time will be the reason to finally buy the Logitech G27.

Re: Force Feedback in Linux

PostPosted: Mon Dec 24, 2018 10:05 am
by Bart
First step is to port Supermodel to SDL2. Someone submitted a patch but there was an unresolved issue with multiple monitor support. I need to find time to look at this. I should probably make it a priority for January.

Re: Force Feedback in Linux

PostPosted: Mon Dec 24, 2018 10:09 am
by Shoegazer
Thanks so much for considering this, Bart. Please let me know if you need help testing anything and I'm glad to do so. Currently using libsdl 2.0.8 under Mint 19.1 and kernel 4.18.