| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | #include "SDL_assert.h" |
| | | |
| | | /* Global for SDL_windowshaptic.c */ |
| | | #if (defined(SDL_HAPTIC_DINPUT) && SDL_HAPTIC_DINPUT) || (defined(SDL_HAPTIC_XINPUT) && SDL_HAPTIC_XINPUT) |
| | | SDL_Haptic *SDL_haptics = NULL; |
| | | #else |
| | | static SDL_Haptic *SDL_haptics = NULL; |
| | | #endif |
| | | |
| | | /* |
| | | * Initializes the Haptic devices. |