Skip to content

Commit

Permalink
Don't try to build the RAWINPUT driver if HIDAPI is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 11, 2020
1 parent d1e10c3 commit b6238c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/windows/SDL_rawinputjoystick.c
Expand Up @@ -40,7 +40,7 @@
#include "../../core/windows/SDL_windows.h"
#include "../hidapi/SDL_hidapijoystick_c.h"

#ifndef SDL_JOYSTICK_HIDAPI_XBOX360
#if !defined(SDL_JOYSTICK_HIDAPI) || !defined(SDL_JOYSTICK_HIDAPI_XBOX360)
#error RAWINPUT requires the XBOX360 HIDAPI driver
#endif

Expand Down

0 comments on commit b6238c8

Please sign in to comment.