SDL2 - Force Feedback and FFE files

Hi all,
Elias and myself have been working on reverse engineering FFE files (short
pre-defined collections of ForceFeedback ‘effects’), and I have a couple
of questions regarding SDL2.

1). A while ago Elias reported that the directions were a little wonky and
suggested improvements. Any forecast on whether this will be fixed, or do
we just have work around it?

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2014-March/659695.html

2). Square… why did you ‘kill’ the square? I know there is a comment in
the header saying that left-right was important to have, but couldn’t you
have killed inertia?.. nobody likes him :wink:

Seriously though, the FFE files I have seen (from DX7’s FEdit app) make a
lot(!) of use of the square wave. So, any forecast on when it might be
available again?

Thanks,
Simon.

1). A while ago Elias reported that the directions were a little wonky and
suggested improvements. Any forecast on whether this will be fixed, or do
we just have work around it?

It’s still on my TODO list, but I haven’t had a chance to look into it
at all yet.

Seriously though, the FFE files I have seen (from DX7’s FEdit app) make a
lot(!) of use of the square wave. So, any forecast on when it might be
available again?

In 2.1.

We only used 16 bits for effects, and used all 16 of them, and decided
after the ABI was locked down that being able to control XInput-style
devices was very important. So we stole one of the bits. It was stolen
at random…I couldn’t have told you which was more or less important.

This was a sad mistake to have made and not caught in time, but that’s
how it happened.

–ryan.

OK, no problem, I understand.
But is it possible to block Steam from using the current SDL haptic
infrastructure related to force effects (however they can still use
rumble effects)?
I strongly advise to do so until we get these problems fixed:
Currently, an SDL game using force effects in Windows/OSX will result
in a force with the opposite direction, compared to when running it in
Linux. For a racing game this would mean the steering wheel turns in
the wrong direction on one of the two platforms!
I will be able to create a patch after June 26, if you want me to help.

Cheers,
EliasOn Fri, May 30, 2014 at 9:25 PM, Ryan C. Gordon wrote:

1). A while ago Elias reported that the directions were a little wonky and
suggested improvements. Any forecast on whether this will be fixed, or do
we just have work around it?

It’s still on my TODO list, but I haven’t had a chance to look into it at
all yet.