blob: 98c4a39060caaee572e1dd3d250ee4daffd3765d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "../modules.h"
#ifdef JIN_MODULES_INPUT
#include "SDL.h"
#include "Mouse.h"
namespace jin
{
namespace input
{
void Mouse::getState(int* x, int* y)
{
#ifdef JIN_INPUT_SDL
SDL_GetMouseState(x, y);
#endif // JIN_INPUT_SDL
}
} // input
} // jin
#endif // JIN_MODULES_INPUT
|