Mercurial > sdl-ios-xcode
comparison src/joystick/win32/SDL_dxjoystick_c.h @ 2760:02aa80d7905f
Updated Visual C++ build
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 15 Sep 2008 07:34:36 +0000 |
parents | 50bc882455e5 |
children | c3ff3d5d16f0 |
comparison
equal
deleted
inserted
replaced
2759:95fccd9bf262 | 2760:02aa80d7905f |
---|---|
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 | |
40 #include <dinput.h> | 41 #include <dinput.h> |
41 #ifdef _MSC_VER | |
42 /* Used for the c_dfDIJoystick2 symbol (no imports are used) */ | |
43 # pragma comment (lib, "dinput.lib") | |
44 #endif | |
45 #include <dxerr8.h> | |
46 #ifdef _MSC_VER | |
47 # pragma comment (lib, "dxerr8.lib") | |
48 #endif | |
49 | 42 |
50 | 43 |
51 #define MAX_INPUTS 256 /* each joystick can have up to 256 inputs */ | 44 #define MAX_INPUTS 256 /* each joystick can have up to 256 inputs */ |
52 | 45 |
53 | 46 |