Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,6 @@ | ||
|
||
#ifdef USE_SDL | ||
|
||
#ifdef SDL_INC | ||
#include "SDL2/SDL_mouse.h" | ||
#else | ||
#include "SDL_mouse.h" | ||
#endif | ||
|
||
#else // USE_SDL | ||
|
||
/* These are used for the renderer, which doesn't include the rest of SDL and only this file | ||
* It still needs fake SDL_BUTTON_* constants to compile | ||
*/ | ||
|
||
#define SDL_BUTTON(X) (1 << ((X)-1)) | ||
#define SDL_BUTTON_LEFT 1 | ||
#define SDL_BUTTON_MIDDLE 2 | ||
#define SDL_BUTTON_RIGHT 3 | ||
#define SDL_BUTTON_WHEELUP 4 | ||
#define SDL_BUTTON_WHEELDOWN 5 | ||
|
||
#endif // USE_SDL | ||
|