blob: a3c8e2710f094b406730baa87169b25352eb933f (
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
|