summaryrefslogtreecommitdiff
path: root/src/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/joystick.h')
-rw-r--r--src/joystick.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/joystick.h b/src/joystick.h
index 55b75d373..740fa7cbd 100644
--- a/src/joystick.h
+++ b/src/joystick.h
@@ -121,10 +121,12 @@ class Joystick
KeysVector *getActionVector(const SDL_Event &event);
- int getButtonFromEvent(const SDL_Event &event);
+ int getButtonFromEvent(const SDL_Event &event) const;
bool isActionActive(int index) const;
+ bool validate() const;
+
protected:
unsigned char mDirection;