X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2Finput%2FinputManager.h;h=829dbc32637f106273659a467e87c6e20d181572;hb=e4d7555ada4b164f6ee12019356bdb0a12c5fbf9;hp=3e0e45d0fd83ded93a14b311a1d688c172a88cbf;hpb=a823a80039c6069bb7676433832d9f9413494860;p=physics.git diff --git a/src/input/inputManager.h b/src/input/inputManager.h index 3e0e45d..829dbc3 100644 --- a/src/input/inputManager.h +++ b/src/input/inputManager.h @@ -33,11 +33,14 @@ namespace input Vector2 mousePosition(); - bool isPressed(Uint8); - bool isReleased(Uint8); + bool mouseLeft(); + bool mouseRight(); - bool wasPressed(Uint8); - bool wasReleased(Uint8); + bool isPressed(SDLKey); + bool isReleased(SDLKey); + + bool wasPressed(SDLKey); + bool wasReleased(SDLKey); } #endif // INPUT_H