Skip to content

Commit

Permalink
Fixed header docs for the joystick hat position
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 21, 2003
1 parent fe8f686 commit ceeaa12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/SDL_events.h
Expand Up @@ -162,9 +162,9 @@ typedef struct {
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;
Expand Down

0 comments on commit ceeaa12

Please sign in to comment.