Force Feedback for Linux (svn 831)

Information for FFB on linux
I personnaly only checked this feature on Ubuntu 18.04 lts and 20.04 lts
your ffb device must be correctly installed
I personnaly use modified ffb driver for logitech device (wheel)
because original built-in core driver only supports constant force
you can found these drivers at
https://github.com/berarma/new-lg4ff
to install, follow instructions from author
I use fftest software to check forces effects
if not already installed,
if I remember correctly...
to test every force effects on your device
of course, if you don't have any forces effects working at the stage, you can't have force effects in Supermodel
I also use oversteer program to set wheel rotation angle for device
you can found it at the same author driver web site
https://github.com/berarma/oversteer
tested only with my own ffb devices : g27 wheel, xbox360 pad, some microsoft joysticks and a saitek evo force
note : it is needed to make some code changes for this last one. look inside code.
no needs to use the switch on linux system since it's the default option
just add commandline option
or define in supermodel.ini file
I don't own any apple machines, I can't check if this works on it
note : it is also possible to use sdl2 ffb on Windows machines instead of direct input ffb
edit
I forgot to say, you can adjust the strength of each effects in supermodel.ini file like you do it for dinput or xinput
SDLConstForceMax = 100
SDLSelfCenterMax = 100
SDLFrictionMax = 100
SDLVibrateMax = 100
note about saitek evo force joystick
I only check this device on windows because there is no driver available in Linux. The trouble for this device is only windows related.
I personnaly only checked this feature on Ubuntu 18.04 lts and 20.04 lts
your ffb device must be correctly installed
I personnaly use modified ffb driver for logitech device (wheel)
because original built-in core driver only supports constant force
you can found these drivers at
https://github.com/berarma/new-lg4ff
to install, follow instructions from author
I use fftest software to check forces effects
if not already installed,
- Code: Select all
sudo apt install joystick
if I remember correctly...
- Code: Select all
sudo fftest /dev/input/event5
to test every force effects on your device
of course, if you don't have any forces effects working at the stage, you can't have force effects in Supermodel
I also use oversteer program to set wheel rotation angle for device
you can found it at the same author driver web site
https://github.com/berarma/oversteer
tested only with my own ffb devices : g27 wheel, xbox360 pad, some microsoft joysticks and a saitek evo force
note : it is needed to make some code changes for this last one. look inside code.
no needs to use the switch on linux system since it's the default option
- Code: Select all
-input-system=sdl
just add commandline option
- Code: Select all
-force-feedback
or define in supermodel.ini file
- Code: Select all
ForceFeedback=1
I don't own any apple machines, I can't check if this works on it
note : it is also possible to use sdl2 ffb on Windows machines instead of direct input ffb
- Code: Select all
-input-system=sdl -force-feedback
edit
I forgot to say, you can adjust the strength of each effects in supermodel.ini file like you do it for dinput or xinput
SDLConstForceMax = 100
SDLSelfCenterMax = 100
SDLFrictionMax = 100
SDLVibrateMax = 100
note about saitek evo force joystick
I only check this device on windows because there is no driver available in Linux. The trouble for this device is only windows related.