Mercurial > sdl-ios-xcode
comparison src/joystick/win32/SDL_dxjoystick_c.h @ 2770:c3ff3d5d16f0
Fixed compilation on mingw32.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Tue, 14 Oct 2008 18:28:28 +0000 |
parents | 02aa80d7905f |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2769:2a46b5912665 | 2770:c3ff3d5d16f0 |
---|---|
35 | 35 |
36 #define WIN32_LEAN_AND_MEAN | 36 #define WIN32_LEAN_AND_MEAN |
37 #include <windows.h> | 37 #include <windows.h> |
38 | 38 |
39 #define DIRECTINPUT_VERSION 0x0700 /* Need version 7 for force feedback. */ | 39 #define DIRECTINPUT_VERSION 0x0700 /* Need version 7 for force feedback. */ |
40 #define INITGUID | |
41 #include <dinput.h> | 40 #include <dinput.h> |
42 | 41 |
43 | 42 |
44 #define MAX_INPUTS 256 /* each joystick can have up to 256 inputs */ | 43 #define MAX_INPUTS 256 /* each joystick can have up to 256 inputs */ |
45 | 44 |