]> git.localhorst.tv Git - l2e.git/blobdiff - src/app/Input.h
allow checking of multiple keys at once
[l2e.git] / src / app / Input.h
index ad5086920ac954119cb57ced60041d2fba956c75..988caa807c2eacc2f0424765c17bd9b8c05d11b2 100644 (file)
@@ -35,13 +35,13 @@ public:
        Input();
 
 public:
-       bool IsDown(Button b) const {
+       bool IsDown(int b) const {
                return down & b;
        }
-       bool JustPressed(Button b) const {
+       bool JustPressed(int b) const {
                return pressed & b;
        }
-       bool JustReleased(Button b) const {
+       bool JustReleased(int b) const {
                return released & b;
        }