Mercurial > sdl-ios-xcode
comparison src/joystick/win32/SDL_mmjoystick.c @ 1358:c71e05b4dc2e
More header massaging... works great on Windows. ;-)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 10 Feb 2006 06:48:43 +0000 |
parents | 604d73db6802 |
children | 19418e4422cb |
comparison
equal
deleted
inserted
replaced
1357:e18467d67cfd | 1358:c71e05b4dc2e |
---|---|
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 | 22 |
23 /* Win32 MultiMedia Joystick driver, contributed by Andrei de A. Formiga */ | 23 /* Win32 MultiMedia Joystick driver, contributed by Andrei de A. Formiga */ |
24 | 24 |
25 #include "SDL_stdlib.h" | 25 #include "SDL_windows.h" |
26 #include "SDL_string.h" | 26 #include <mmsystem.h> |
27 #include "SDL_error.h" | 27 #include <regstr.h> |
28 | |
28 #include "SDL_events.h" | 29 #include "SDL_events.h" |
29 #include "SDL_joystick.h" | 30 #include "SDL_joystick.h" |
30 #include "SDL_sysjoystick.h" | 31 #include "SDL_sysjoystick.h" |
31 #include "SDL_joystick_c.h" | 32 #include "SDL_joystick_c.h" |
32 | |
33 #include "SDL_windows.h" | |
34 #include <mmsystem.h> | |
35 #include <regstr.h> | |
36 | 33 |
37 #define MAX_JOYSTICKS 16 | 34 #define MAX_JOYSTICKS 16 |
38 #define MAX_AXES 6 /* each joystick can have up to 6 axes */ | 35 #define MAX_AXES 6 /* each joystick can have up to 6 axes */ |
39 #define MAX_BUTTONS 32 /* and 32 buttons */ | 36 #define MAX_BUTTONS 32 /* and 32 buttons */ |
40 #define AXIS_MIN -32768 /* minimum value for axis coordinate */ | 37 #define AXIS_MIN -32768 /* minimum value for axis coordinate */ |