#pragma once #ifdef _WIN32 #include #include "opentrack/shortcuts.h" struct win_key; extern QList windows_key_mods; extern QList windows_key_sequences; #include "export.hpp" struct OPENTRACK_API_EXPORT 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); static bool to_qt(const Key& k, QKeySequence& qt_, Qt::KeyboardModifiers &mods); }; #endif