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 614

Summary: Only 5 axis detected with Xbox 360 controller
Product: SDL Reporter: hubadu <hubadu>
Component: joystickAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.13   
Hardware: x86   
OS: Windows (XP)   
URL: http://uppix.net/f/f/1/6c3350ac1ec87b1bc7437125d924d.png

Description hubadu 2008-08-14 05:59:09 UTC
SDL_Joystick only works with 5 axis with the x360 controller, one is missing, the red surrounded one one the picture. I don't have this issue with others API.
Comment 1 hubadu 2008-08-14 06:10:34 UTC
The digital pad of the X360 controller must provide (on some other api it's the axis 32) a perfect float angle value, for instance:
- up arrow -> 0°
- up arrow + right arrow -> 45°
- right arrow -> 90°
...



Comment 2 hubadu 2008-08-14 06:28:17 UTC
Oops...
Xbox 360 controller is detected as a JoyHatMotion event.


Sorry ;)