Mercurial > sdl-ios-xcode
comparison src/joystick/win32/SDL_dxjoystick_c.h @ 2618:51cadb844a9e gsoc2008_force_feedback
Need DirectX version 7 or later.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 09:22:36 +0000 |
parents | acd5da848404 |
children | 380d926cc5a7 |
comparison
equal
deleted
inserted
replaced
2617:a168397d6549 | 2618:51cadb844a9e |
---|---|
34 * let it return 0 events. */ | 34 * let it return 0 events. */ |
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 0x0500 | 39 #define DIRECTINPUT_VERSION 0x0700 /* Need version 7 for force feedback. */ |
40 #include <dinput.h> | 40 #include <dinput.h> |
41 #ifdef _MSC_VER | 41 #ifdef _MSC_VER |
42 /* Used for the c_dfDIJoystick2 symbol (no imports are used) */ | 42 /* Used for the c_dfDIJoystick2 symbol (no imports are used) */ |
43 # pragma comment (lib, "dinput.lib") | 43 # pragma comment (lib, "dinput.lib") |
44 #endif | 44 #endif |