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