aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Input/je_mouse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Input/je_mouse.cpp')
-rw-r--r--src/libjin/Input/je_mouse.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/libjin/Input/je_mouse.cpp b/src/libjin/Input/je_mouse.cpp
deleted file mode 100644
index 476b1a2..0000000
--- a/src/libjin/Input/je_mouse.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-#include "../core/je_configuration.h"
-#if defined(jin_input)
-
-#include "SDL.h"
-
-#include "je_mouse.h"
-
-namespace JinEngine
-{
- namespace Input
- {
-
- void Mouse::getState(int* x, int* y)
- {
- #ifdef jin_input == jin_input_sdl
- SDL_GetMouseState(x, y);
- #endif
- }
-
- void Mouse::setVisible(bool visible)
- {
- SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE);
- }
-
- } // namespace Input
-} // namespace JinEngine
-
-#endif // defined(jin_input) \ No newline at end of file