From d24761f2db8862437a302361b603ef43333b94a8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 21 Jan 2003 05:33:34 +0000 Subject: [PATCH] Fixed header docs for the joystick hat position --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40578 --- include/SDL_events.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SDL_events.h b/include/SDL_events.h index 4abf04177..8f93221d2 100644 --- a/include/SDL_events.h +++ b/include/SDL_events.h @@ -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;