add reading of joystick hat to input2ivy

So far the value for the hat is just an integer: 0=down, 1=up, etc... (see SDL_joystick.h)

Still needs handling of the hat position so you can properly use it, maybe via something like ```Hat(down)``` syntax?