summaryrefslogtreecommitdiff
path: root/src/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/joystick.h')
-rw-r--r--src/joystick.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/joystick.h b/src/joystick.h
index e053fecc..4e5c3d23 100644
--- a/src/joystick.h
+++ b/src/joystick.h
@@ -30,14 +30,16 @@ class Joystick
/**
* Number of buttons we can handle.
*/
- enum {
+ enum
+ {
MAX_BUTTONS = 6
};
/**
* Directions, to be used as bitmask values.
*/
- enum {
+ enum
+ {
UP = 1,
DOWN = 2,
LEFT = 4,