diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-07 21:51:35 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-07 21:51:35 -0700 |
commit | 450edb5900a46ada0cc6292f0079a31ea5d04573 (patch) | |
tree | a8b110ef8c1057da3c7d8fb9f1fbcdf88327db88 /src/joystick.h | |
parent | 303609031d8b70f0b20002b28e2de450e0ad7fb7 (diff) | |
download | mana-450edb5900a46ada0cc6292f0079a31ea5d04573.tar.gz mana-450edb5900a46ada0cc6292f0079a31ea5d04573.tar.bz2 mana-450edb5900a46ada0cc6292f0079a31ea5d04573.tar.xz mana-450edb5900a46ada0cc6292f0079a31ea5d04573.zip |
Some more include cleanups.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/joystick.h')
-rw-r--r-- | src/joystick.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/joystick.h b/src/joystick.h index a7090293..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, |