src/joystick/win32/SDL_dxjoystick_c.h
branchgsoc2008_force_feedback
changeset 2618 51cadb844a9e
parent 2616 acd5da848404
child 2652 380d926cc5a7
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