projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correct mistake
[physics.git]
/
src
/
input
/
inputManager.h
diff --git
a/src/input/inputManager.h
b/src/input/inputManager.h
index
3e0e45d
..
829dbc3
100644
(file)
--- a/
src/input/inputManager.h
+++ b/
src/input/inputManager.h
@@
-33,11
+33,14
@@
namespace input
Vector2 mousePosition();
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
}
#endif // INPUT_H