[SDL] Joystick behaviour seriously flawed?

Mason Wheeler masonwheeler at yahoo.com
Sat Oct 19 17:41:35 PDT 2013


...such as an XBox controller clone, which is what was originally mentioned.

It has 6 axes (2 for left stick, 2 for right stick, 1 for each trigger) and so if it
was trying to represent it as a system with 5 axes, that's a bug.


Mason



________________________________
 From: Sik the hedgehog <sik.the.hedgehog at gmail.com>
To: sdl at lists.libsdl.org 
Sent: Saturday, October 19, 2013 5:32 PM
Subject: Re: [SDL] Joystick behaviour seriously flawed?
 

Except... that driver has just been removed in newer versions
(especially because many new controllers don't work properly with it -
their drivers simply refuse to report all buttons or axes).


2013/10/19, rainwarrior <rainwarrior at rainwarrior.ca>:
> I discovered the older MM implementation and enabled it by doing the
> following in SDL_windows_config.h:
>
> 1. Remove: #define SDL_JOYSTICK_DINPUT 1
> 2. Add: #define SDL_JOYSTICK_WINMM 1
> 3. Remove: #define SDL_HAPTIC_DINPUT   1
> 4. Add: #define SDL_HAPTIC_DISABLED 1
>
> With this done, all of my problems using these gamepads are gone. They all
> operate as I expect.
>
>
>
>
>
_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20131019/215d8a14/attachment-0009.htm>


More information about the SDL mailing list