Mercurial > sdl-ios-xcode
changeset 577:f7596a8a3b8b
Fixed header docs for the joystick hat position
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Jan 2003 05:33:34 +0000 |
parents | cd41dca47fff |
children | f93ae521f564 |
files | include/SDL_events.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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;