Added joypad hat support