summaryrefslogtreecommitdiff
path: root/src/inputevent.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-08 21:05:01 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-08 21:05:01 +0300
commitbb258f09a0b50f6382be2ff36637191a8b103c3f (patch)
tree419eb77c8c1502968e89fddff7f1e7c167d86a11 /src/inputevent.h
parent30ef016b0a14f36dc480284e2d775295b5501dd4 (diff)
downloadmv-bb258f09a0b50f6382be2ff36637191a8b103c3f.tar.gz
mv-bb258f09a0b50f6382be2ff36637191a8b103c3f.tar.bz2
mv-bb258f09a0b50f6382be2ff36637191a8b103c3f.tar.xz
mv-bb258f09a0b50f6382be2ff36637191a8b103c3f.zip
Move some more code from keyboardconfig to inputmanager.
Diffstat (limited to 'src/inputevent.h')
-rw-r--r--src/inputevent.h10
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);