[SDL] Analogue joystick "sticks" on OS X

Jacob Ole Juul Kolding dacobi at gmail.com
Wed Apr 25 23:02:16 PDT 2007


I seem to have the same problem with a Logitech Wingman Extreme Digital on a
MacBook Pro...
Dunno what's going on.

Also when pressing a button there is some delay, but that may be my code.

/Jacob Kolding

On 4/23/07, mike stedman <ravuya at gmail.com> wrote:
>
> Hey all,
>
> When working with analogue joysticks on Mac OS X (Logitech Wingman
> Rumblepad, Microsoft Xbox360 wired controller) I notice that the stick gets
> wedged in one direction at program initialization after I push it initially.
>
>
> After I do a full circle on the stick it becomes "unstuck" but this looks
> very unprofessional. Does anyone know what's going on here? I have deadzone
> code, but the wedging seems to be near 100% in the direction opposite what I
> just pressed.
>
> From what I can tell, if I start my program and push up-left on the
> joystick, the game will respond to that slightly, but then repeatedly emit
> down-right motion when I release the stick until I do a full circle with the
> stick, after which point it acts normally.
>
> Is SDL doing some kind of adaptive re-calibration, or is this the fault of
> the OS X joystick driver? I haven't encountered this issue on Windows or
> Linux and can't see anything in the archives about it. I am using the
> SDL_Joystick code instead of the event interface, but will change over if
> the bug is fixed there.
>
> Any insight would be great, particularly if there's some sort of "hidden"
> SDL_Joystick function to force recalibration.
> --
> Mike
> http://rav.realitybytes.tk
> _______________________________________________
> 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/20070426/756252bf/attachment.htm 


More information about the SDL mailing list