From 79815a8a759ae9fc48c26ee16bc3337463c35655 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 2 Oct 2015 08:38:21 +0200 Subject: shortcuts: implement dinput -> qt conversion --- opentrack/win32-shortcuts.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opentrack/win32-shortcuts.h') diff --git a/opentrack/win32-shortcuts.h b/opentrack/win32-shortcuts.h index 3e824b89..fe92ae53 100644 --- a/opentrack/win32-shortcuts.h +++ b/opentrack/win32-shortcuts.h @@ -3,6 +3,7 @@ #ifdef _WIN32 #include +#include "opentrack/shortcuts.h" struct win_key; @@ -15,6 +16,7 @@ struct win_key int win; Qt::Key qt; static bool from_qt(QKeySequence qt_, int& dik, Qt::KeyboardModifiers &mods); + static bool to_qt(const Key& k, QKeySequence& qt_, Qt::KeyboardModifiers &mods); }; #endif -- cgit v1.2.3