summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-shortcuts.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-25 06:59:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-25 06:59:31 +0200
commit39d87e711d3eed36d4fecf48250becaa8cbdfb56 (patch)
treea676c5ec1125f4bf1dec0c11d52f76c6aab5a548 /opentrack/win32-shortcuts.h
parent61b6c69b3f36ebea142a55d0eb37601d99bcd522 (diff)
rename to win32-shortcuts.cpp
Diffstat (limited to 'opentrack/win32-shortcuts.h')
-rw-r--r--opentrack/win32-shortcuts.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/opentrack/win32-shortcuts.h b/opentrack/win32-shortcuts.h
new file mode 100644
index 00000000..8167036d
--- /dev/null
+++ b/opentrack/win32-shortcuts.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#ifdef _WIN32
+
+struct win_key;
+
+extern QList<win_key> windows_key_mods;
+extern QList<win_key> windows_key_sequences;
+
+struct win_key
+{
+ win_key(int win, Qt::Key qt) : win(win), qt(qt) {}
+ int win;
+ Qt::Key qt;
+ static bool from_qt(QKeySequence qt_, int& dik, Qt::KeyboardModifiers &mods);
+};
+
+#endif