We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3483

Summary: Steelseries Nimbus MFi controller reversed Y-axis analog stick
Product: SDL Reporter: benjamin.feng
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: amaranth72, sezeroz
Version: 2.0.5Keywords: target-2.0.6
Hardware: x86   
OS: Mac OS X 10.11   

Description benjamin.feng 2016-11-08 17:13:55 UTC
Probable underlying cause: https://bugzilla.libsdl.org/show_bug.cgi?id=3124#c5

"If you download and build the HID Calibrator sample you can see that these are totally legitimate HID devices (except for inverting the Y-axis of joysticks, which is contrary to the HID specification but does make them more compatible with games compiled expecting XBOX controllers)."
Comment 1 Alex Szpakowski 2017-08-19 02:49:25 UTC
Sam: Does it make sense to just change the GameController mapping to invert the thumbstick axes for the Stratus XL and Nimbus controllers on macOS?

If so I can test and commit that pretty quickly (I have a Stratus XL lying around).

I'm not sure if there's a nice way to invert the thumbstick axes at a lower level aside from hard-coding the inversion based on the vendor/product IDs.
Comment 2 Sam Lantinga 2017-08-19 03:46:49 UTC
Maybe, but I know I tested the Stratus XL with that mapping and it was correct. I'm going to re-verify before making any changes here.
Comment 3 Sam Lantinga 2017-08-31 06:31:17 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/4872fbf52eaf

Alex, I don't have a Stratus XL, can you check to see if the axes need to be inverted for that as well? If so, it's easy to do, just add ~ after the axis number, like I did for the Nimbus entry.
Comment 4 Ozkan Sezer 2017-08-31 10:59:34 UTC
(In reply to Sam Lantinga from comment #3)
> Fixed, thanks!
> https://hg.libsdl.org/SDL/rev/4872fbf52eaf

The fix reverted r11352 (http://hg.libsdl.org/SDL/rev/bd65950cd775),
was that intentional?
Comment 5 Sam Lantinga 2017-08-31 22:06:30 UTC
Yes, that entry was a duplicate of the PS3 controller entry.
Comment 6 Alex Szpakowski 2017-09-01 01:11:37 UTC
(In reply to Sam Lantinga from comment #3)
> Alex, I don't have a Stratus XL, can you check to see if the axes need to be
> inverted for that as well? If so, it's easy to do, just add ~ after the axis
> number, like I did for the Nimbus entry.

Done!
Comment 7 Sam Lantinga 2017-09-01 17:49:45 UTC
Thanks! :)