summaryrefslogtreecommitdiff
path: root/src/inputevent.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-09 21:16:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-09 21:17:31 +0300
commitaab80ddc8f56d6a383182ce5c241e9d94ca27bab (patch)
tree9e81b97354b666820ab6e2bb9575dc1127a486a8 /src/inputevent.h
parent0af9ff98876426c096d2b4b8a4f17172af92b8d0 (diff)
downloadplus-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.gz
plus-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.bz2
plus-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.xz
plus-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.zip
Add ability to auto repeat some keys presses.
Diffstat (limited to 'src/inputevent.h')
-rw-r--r--src/inputevent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inputevent.h b/src/inputevent.h
index b8e4ebd1b..cbcc9cc99 100644
--- a/src/inputevent.h
+++ b/src/inputevent.h
@@ -34,6 +34,9 @@ typedef KeyToActionMap::iterator KeyToActionMapIter;
typedef std::map<int, int> KeyToIdMap;
typedef KeyToIdMap::iterator KeyToIdMapIter;
+typedef std::map<int, int> KeyTimeMap;
+typedef KeyTimeMap::iterator KeyTimeMapIter;
+
struct InputEvent
{
InputEvent(int action0, int mask0);