Hello,
Cabrio is having problem to handle joystick input, I'm using a PS3 joystick and SDL is sending many events such as 0 value in axis 0, 1, 2 and 3 (right and left analog) and -32768 in axis 12 (accelerometer?). Cabrio is very slow with these events and you have to wait some seconds to it handle an Up or Down.
I managed to workaround this, change IF to while in event_poll function and putting event_flush after the for statement. But the problem is that when the controller is connected, you have to tap many times Up or Down to move the wheel (event_flush erases all the events, so you lost both valid and invalid input signals).
It seems you have to use SDL_PollEvent inside a while, not in a IF statement, as I saw in many examples over the web, so it will handle many events in one frame, not one event for each frame.
https://github.com/SteveMaddison/cabrio/issues/20I don't have many skills in SDL, could someone see this? As the main goal of cabrio is to be a arcade frontend, this input handle is very important.
sergio-br2
PS: Is it hard to port to SDL2 ?