SDL_GameControllerGetAxis() question

Andreas Falkenhahn <[email protected]> Mon, 1 May 2017 17:20:52 +0200
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
With my Xbox 360 controller I get the following values from
SDL_GameControllerGetAxis() when the controller is just
idle:

    LEFTX: -2263
    LEFTY: 2092
    RIGHTX: 4681
    RIGHTY: 7703

Is that normal? I'd expect to get 0 for those axes when 
I don't touch anything on the controller. With the trigger
buttons the behaviour is as expected and SDL returns 0
in case I don't touch them but somehow for the left and
right axes this isn't the case and I get these values from
above...

Tested on Windows with SDL 2.0.5.

-- 
Best regards,
 Andreas Falkenhahn                          mailto:[email protected]