I'm coming over to SFML from an SDL background. I'm porting a tool that was written in SDL and I've come across unexpected behavior when dealing with joysticks (on Mac). I've got a wired 360 controller from which SDL will deliver button events numbered 0 through 14. The A, B, X, and Y buttons are the 0 through 3. However, when using SFML, those buttons are mapped to 16 through 19.
SFML appears to number the 360 controller's buttons as 5 through 19 and has no buttons that correspond to 0 through 3. All 15 of the buttons still work, but it's really weird to have a joystick whose first button is 5 instead of 0. Is it possible I've done something wrong in code or is this common and expected behavior in SFML?