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