summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/global-shortcuts.cpp
blob: 286200c087c8cd8be99e8f0279681f191a133a07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#include "facetracknoir/facetracknoir.h"

#if defined(__WIN32) || defined(_WIN32)
#include <windows.h>
#include <strmif.h>
#include <dshow.h>
QList<int> global_windows_key_sequences =
    QList<int>()
    << 0
    << DIK_A
    << DIK_B
    << DIK_C
    << DIK_D
    << DIK_E
    << DIK_F
    << DIK_G
    << DIK_H
    << DIK_I
    << DIK_J
    << DIK_K
    << DIK_L
    << DIK_M
    << DIK_N
    << DIK_O
    << DIK_P
    << DIK_Q
    << DIK_R
    << DIK_S
    << DIK_T
    << DIK_U
    << DIK_V
    << DIK_W
    << DIK_X
    << DIK_Y
    << DIK_Z
    << DIK_F1
    << DIK_F2
    << DIK_F3
    << DIK_F4
    << DIK_F5
    << DIK_F6
    << DIK_F7
    << DIK_F8
    << DIK_F9
    << DIK_F10
    << DIK_F11
    << DIK_F12
    << DIK_1
    << DIK_2
    << DIK_3
    << DIK_4
    << DIK_5
    << DIK_6
    << DIK_7
    << DIK_8
    << DIK_9
    << DIK_0
    << DIK_LEFT
    << DIK_RIGHT
    << DIK_UP
    << DIK_DOWN
    << DIK_PGUP
    << DIK_DOWN
    << DIK_HOME
    << DIK_END
    << DIK_BACK
    << DIK_DELETE
    << DIK_RETURN;
#endif

QList<QString> global_key_sequences =
    QList<QString>()
    << ""
    << "A"
    << "B"
    << "C"
    << "D"
    << "E"
    << "F"
    << "G"
    << "H"
    << "I"
    << "J"
    << "K"
    << "L"
    << "M"
    << "N"
    << "O"
    << "P"
    << "Q"
    << "R"
    << "S"
    << "T"
    << "U"
    << "V"
    << "W"
    << "X"
    << "Y"
    << "Z"
    << "F1"
    << "F2"
    << "F3"
    << "F4"
    << "F5"
    << "F6"
    << "F7"
    << "F8"
    << "F9"
    << "F10"
    << "F11"
    << "F12"
    << "1"
    << "2"
    << "3"
    << "4"
    << "5"
    << "6"
    << "7"
    << "8"
    << "9"
    << "0"
    << "Left"
    << "Right"
    << "Up"
    << "Down"
    << "PgUp"
    << "PgDown"
    << "Home"
    << "End"
    << "Backspace"
    << "Del"
    << "Enter"
;