diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-08 21:05:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-08 21:05:01 +0300 |
commit | bb258f09a0b50f6382be2ff36637191a8b103c3f (patch) | |
tree | 419eb77c8c1502968e89fddff7f1e7c167d86a11 /src/inputevent.h | |
parent | 30ef016b0a14f36dc480284e2d775295b5501dd4 (diff) | |
download | ManaVerse-bb258f09a0b50f6382be2ff36637191a8b103c3f.tar.gz ManaVerse-bb258f09a0b50f6382be2ff36637191a8b103c3f.tar.bz2 ManaVerse-bb258f09a0b50f6382be2ff36637191a8b103c3f.tar.xz ManaVerse-bb258f09a0b50f6382be2ff36637191a8b103c3f.zip |
Move some more code from keyboardconfig to inputmanager.
Diffstat (limited to 'src/inputevent.h')
-rw-r--r-- | src/inputevent.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/inputevent.h b/src/inputevent.h index 7b73bba11..b03c59669 100644 --- a/src/inputevent.h +++ b/src/inputevent.h @@ -21,6 +21,16 @@ #ifndef INPUTEVENT_H #define INPUTEVENT_H +#include <map> +#include <vector> + +typedef std::vector<int> KeysVector; +typedef KeysVector::iterator KeysVectorIter; +typedef KeysVector::const_iterator KeysVectorCIter; + +typedef std::map<int, KeysVector> KeyToActionMap; +typedef KeyToActionMap::iterator KeyToActionMapIter; + struct InputEvent { InputEvent(int action0, int mask0); |