src/joystick/windows/SDL_dinputjoystick.c
changeset 9659 839c0c3bf555
parent 9658 9753468b5c0e
child 9660 b7188b6a6f2a
equal deleted inserted replaced
9658:9753468b5c0e 9659:839c0c3bf555
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #include "../../SDL_internal.h"
    21 #include "../../SDL_internal.h"
    22 
    22 
       
    23 #include "../SDL_sysjoystick.h"
       
    24 
    23 #if SDL_JOYSTICK_DINPUT
    25 #if SDL_JOYSTICK_DINPUT
    24 
    26 
    25 #include "../SDL_sysjoystick.h"
       
    26 #include "SDL_windowsjoystick_c.h"
    27 #include "SDL_windowsjoystick_c.h"
    27 #include "SDL_dinputjoystick_c.h"
    28 #include "SDL_dinputjoystick_c.h"
    28 #include "SDL_xinputjoystick_c.h"
    29 #include "SDL_xinputjoystick_c.h"
    29 
    30 
    30 #ifndef DIDFT_OPTIONAL
    31 #ifndef DIDFT_OPTIONAL
   864     }
   865     }
   865 }
   866 }
   866 
   867 
   867 #else /* !SDL_JOYSTICK_DINPUT */
   868 #else /* !SDL_JOYSTICK_DINPUT */
   868 
   869 
       
   870 struct JoyStick_DeviceData;
   869 
   871 
   870 int
   872 int
   871 SDL_DINPUT_JoystickInit(void)
   873 SDL_DINPUT_JoystickInit(void)
   872 {
   874 {
   873     return 0;
   875     return 0;