diff include/SDL_events.h @ 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 9154ec9ca3d2
children b8d311d90021
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;