# HG changeset patch # User Sam Lantinga # Date 1043127214 0 # Node ID f7596a8a3b8b7ed505cfb8910b22200be8295f90 # Parent cd41dca47fff78a23c8f27b48ae95ad9db4e612b Fixed header docs for the joystick hat position diff -r cd41dca47fff -r f7596a8a3b8b include/SDL_events.h --- a/include/SDL_events.h Tue Jan 21 05:29:50 2003 +0000 +++ b/include/SDL_events.h Tue Jan 21 05:33:34 2003 +0000 @@ -162,9 +162,9 @@ Uint8 which; /* The joystick device index */ Uint8 hat; /* The joystick hat index */ Uint8 value; /* The hat position value: - 8 1 2 - 7 0 3 - 6 5 4 + SDL_HAT_LEFTUP SDL_HAT_UP SDL_HAT_RIGHTUP + SDL_HAT_LEFT SDL_HAT_CENTERED SDL_HAT_RIGHT + SDL_HAT_LEFTDOWN SDL_HAT_DOWN SDL_HAT_RIGHTDOWN Note that zero means the POV is centered. */ } SDL_JoyHatEvent;