summaryrefslogtreecommitdiff
path: root/src/inputevent.h
diff options
context:
space:
mode:
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);