Commit d24761f2 authored by Sam Lantinga's avatar Sam Lantinga

Fixed header docs for the joystick hat position

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40578
parent 9e546b82
...@@ -162,9 +162,9 @@ typedef struct { ...@@ -162,9 +162,9 @@ typedef struct {
Uint8 which; /* The joystick device index */ Uint8 which; /* The joystick device index */
Uint8 hat; /* The joystick hat index */ Uint8 hat; /* The joystick hat index */
Uint8 value; /* The hat position value: Uint8 value; /* The hat position value:
8 1 2 SDL_HAT_LEFTUP SDL_HAT_UP SDL_HAT_RIGHTUP
7 0 3 SDL_HAT_LEFT SDL_HAT_CENTERED SDL_HAT_RIGHT
6 5 4 SDL_HAT_LEFTDOWN SDL_HAT_DOWN SDL_HAT_RIGHTDOWN
Note that zero means the POV is centered. Note that zero means the POV is centered.
*/ */
} SDL_JoyHatEvent; } SDL_JoyHatEvent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment