aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Input
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Input')
-rw-r--r--src/libjin/Input/Event.h12
-rw-r--r--src/libjin/Input/Input.h4
-rw-r--r--src/libjin/Input/Joypad.h4
-rw-r--r--src/libjin/Input/Keyboard.h6
-rw-r--r--src/libjin/Input/Mouse.cpp8
-rw-r--r--src/libjin/Input/Mouse.h10
6 files changed, 22 insertions, 22 deletions
diff --git a/src/libjin/Input/Event.h b/src/libjin/Input/Event.h
index 9feb3a5..713b393 100644
--- a/src/libjin/Input/Event.h
+++ b/src/libjin/Input/Event.h
@@ -1,13 +1,13 @@
-#ifndef __JIN_EVENT_H
-#define __JIN_EVENT_H
+#ifndef __LIBJIN_EVENT_H
+#define __LIBJIN_EVENT_H
#include "../modules.h"
-#if JIN_MODULES_INPUT
+#if LIBJIN_MODULES_INPUT
namespace jin
{
namespace input
{
-#if JIN_INPUT_SDL
+#if LIBJIN_INPUT_SDL
#include "SDL.h"
typedef SDL_Event Event;
@@ -83,9 +83,9 @@ namespace input
}
*/
-#endif // JIN_INPUT_SDL
+#endif // LIBJIN_INPUT_SDL
} // input
} // jin
-#endif // JIN_MODULES_INPUT
+#endif // LIBJIN_MODULES_INPUT
#endif \ No newline at end of file
diff --git a/src/libjin/Input/Input.h b/src/libjin/Input/Input.h
index 217edd2..21c9a9f 100644
--- a/src/libjin/Input/Input.h
+++ b/src/libjin/Input/Input.h
@@ -1,5 +1,5 @@
-#ifndef __JIN_INPUT_H
-#define __JIN_INPUT_H
+#ifndef __LIBJIN_INPUT_H
+#define __LIBJIN_INPUT_H
#include "event.h"
#include "keyboard.h"
diff --git a/src/libjin/Input/Joypad.h b/src/libjin/Input/Joypad.h
index 62ce076..104e52d 100644
--- a/src/libjin/Input/Joypad.h
+++ b/src/libjin/Input/Joypad.h
@@ -1,5 +1,5 @@
-#ifndef __JIN_JOYPAD_H
-#define __JIN_JOYPAD_H
+#ifndef __LIBJIN_JOYPAD_H
+#define __LIBJIN_JOYPAD_H
namespace jin
{
diff --git a/src/libjin/Input/Keyboard.h b/src/libjin/Input/Keyboard.h
index 49ee90f..250e8f0 100644
--- a/src/libjin/Input/Keyboard.h
+++ b/src/libjin/Input/Keyboard.h
@@ -1,5 +1,5 @@
-#ifndef __JIN_KEYBOARD_H
-#define __JIN_KEYBOARD_H
+#ifndef __LIBJIN_KEYBOARD_H
+#define __LIBJIN_KEYBOARD_H
namespace jin
{
@@ -14,4 +14,4 @@ namespace input
} // input
} // jin
-#endif // __JIN_KEYBOARD_H \ No newline at end of file
+#endif // __LIBJIN_KEYBOARD_H \ No newline at end of file
diff --git a/src/libjin/Input/Mouse.cpp b/src/libjin/Input/Mouse.cpp
index e284f78..892d140 100644
--- a/src/libjin/Input/Mouse.cpp
+++ b/src/libjin/Input/Mouse.cpp
@@ -1,5 +1,5 @@
#include "../modules.h"
-#ifdef JIN_MODULES_INPUT
+#ifdef LIBJIN_MODULES_INPUT
#include "SDL.h"
#include "Mouse.h"
@@ -11,9 +11,9 @@ namespace input
void Mouse::getState(int* x, int* y)
{
- #ifdef JIN_INPUT_SDL
+ #ifdef LIBJIN_INPUT_SDL
SDL_GetMouseState(x, y);
- #endif // JIN_INPUT_SDL
+ #endif // LIBJIN_INPUT_SDL
}
void Mouse::setVisible(bool visible)
@@ -24,4 +24,4 @@ namespace input
} // input
} // jin
-#endif // JIN_MODULES_INPUT \ No newline at end of file
+#endif // LIBJIN_MODULES_INPUT \ No newline at end of file
diff --git a/src/libjin/Input/Mouse.h b/src/libjin/Input/Mouse.h
index 9f6bf5d..25dd4c3 100644
--- a/src/libjin/Input/Mouse.h
+++ b/src/libjin/Input/Mouse.h
@@ -1,7 +1,7 @@
-#ifndef __JIN_MOUSE_H
-#define __JIN_MOUSE_H
+#ifndef __LIBJIN_MOUSE_H
+#define __LIBJIN_MOUSE_H
#include "../modules.h"
-#ifdef JIN_MODULES_INPUT
+#ifdef LIBJIN_MODULES_INPUT
#include "../Common/Singleton.hpp"
@@ -27,5 +27,5 @@ namespace input
} // input
} // jin
-#endif // JIN_MODULES_INPUT
-#endif // __JIN_MOUSE_H \ No newline at end of file
+#endif // LIBJIN_MODULES_INPUT
+#endif // __LIBJIN_MOUSE_H \ No newline at end of file