moved event pumping onto the draw thread, should fix windows event problems
[physics.git] / src / input / inputManager.h
index 829dbc3..e0450b2 100644 (file)
@@ -21,7 +21,6 @@
 #include <SDL/SDL.h>
 #include "../Vector2.h"
 
-
 /// ***** Header Methods *****
 
 namespace input
@@ -36,11 +35,11 @@ namespace input
     bool mouseLeft();
     bool mouseRight();
 
-    bool isPressed(SDLKey);
-    bool isReleased(SDLKey);
+    bool isPressed(const SDLKey&);
+    bool isReleased(const SDLKey&);
 
-    bool wasPressed(SDLKey);
-    bool wasReleased(SDLKey);
+    bool wasPressed(const SDLKey&);
+    bool wasReleased(const SDLKey&);
 }
 
 #endif // INPUT_H