And the D-pad is usually mapped to the hat on controllers that have sticks. Take this into account too.
I actually just noticed this. The game is multiplatform, and the D-Pad is considered a joystick on Linux but a D-pad on Windows. Furthermore, the D-pad sign convention is positve up. Nice of them to keep things simple. Since the distinction is irrelevant to my game I'm going to make hats into honorary joysticks.