diff options
Diffstat (limited to 'opentrack/global-shortcuts.h')
-rw-r--r-- | opentrack/global-shortcuts.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/opentrack/global-shortcuts.h b/opentrack/global-shortcuts.h new file mode 100644 index 00000000..2b25321b --- /dev/null +++ b/opentrack/global-shortcuts.h @@ -0,0 +1,14 @@ +#pragma once + +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); +}; |