moved event pumping onto the draw thread, should fix windows event problems
[physics.git] / src / input / inputManager.h
index a117324..e0450b2 100644 (file)
@@ -19,7 +19,7 @@
 #define INPUT_H
 
 #include <SDL/SDL.h>
-
+#include "../Vector2.h"
 
 /// ***** Header Methods *****
 
@@ -30,11 +30,16 @@ namespace input
 
     void update();
 
-    bool isPressed(Uint8);
-    bool isReleased(Uint8);
+    Vector2 mousePosition();
+
+    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