diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-19 21:23:42 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-19 21:23:42 +0200 |
commit | 10c9d92cd2581448d76548efb20957a7a1c24478 (patch) | |
tree | 5f039656bc78cd2a882b872548c340de8ea5263c /src/common/global.h | |
parent | 51884cef8e015bccbe1fa96dc56dc2f32439ccc5 (diff) | |
download | colobot-10c9d92cd2581448d76548efb20957a7a1c24478.tar.gz colobot-10c9d92cd2581448d76548efb20957a7a1c24478.tar.bz2 colobot-10c9d92cd2581448d76548efb20957a7a1c24478.zip |
Mouse wheel events, motion vectors
- added mouse wheel events
- added motion vectors to CRobotMain
- other minor changes in event.h
Diffstat (limited to 'src/common/global.h')
-rw-r--r-- | src/common/global.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/common/global.h b/src/common/global.h index addb56d..3433aeb 100644 --- a/src/common/global.h +++ b/src/common/global.h @@ -115,6 +115,20 @@ enum InputSlot INPUT_SLOT_MAX }; +/** + * \enum JoyAxisSlot + * \brief Slots for joystick axes inputs + */ +enum JoyAxisSlot +{ + JOY_AXIS_SLOT_X, + JOY_AXIS_SLOT_Y, + JOY_AXIS_SLOT_Z, + + JOY_AXIS_SLOT_MAX +}; + + // TODO: move to CRobotMain extern long g_id; // unique identifier extern int g_build; // constructible buildings |