Fixed header docs for the joystick hat position
authorSam Lantinga <slouken@libsdl.org>
Tue, 21 Jan 2003 05:33:34 +0000
changeset 577 f7596a8a3b8b
parent 576 cd41dca47fff
child 578 f93ae521f564
Fixed header docs for the joystick hat position
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;