joy.cpl: Various force feedback fixes

@rbernon here are the the fixes for joy.cpl that I mentioned in !8744 separated from the autocenter stuff.

You can see the individual commits, but basically it makes the press button to play effect feature work again, does a bit of cleanup, and fixes some other bugs I came across in tho code.

Merge request reports

Loading