I quickly recompiled the newest version on Ubuntu14.04 and tested it with the only controller I have lying around, a PS3 controller (054c:0268) and it works fine.
I guess you can try to download this test https://github.com/zielmicha/SDL2/blob/m...joystick.c and compile it (simply "gcc testjoystick.c -I/usr/include/SDL2 -lSDL2" ) and tell us what the output is with your gamepad attached
I guess you can try to download this test https://github.com/zielmicha/SDL2/blob/m...joystick.c and compile it (simply "gcc testjoystick.c -I/usr/include/SDL2 -lSDL2" ) and tell us what the output is with your gamepad attached

