summaryrefslogtreecommitdiffhomepage
path: root/opentrack/global-shortcuts.h
blob: 2b25321bb03a383ba648041f59da7c429f880590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
};