1 | // Aseprite UI Library |
2 | // Copyright (C) 2001-2016 David Capello |
3 | // |
4 | // This file is released under the terms of the MIT license. |
5 | // Read LICENSE.txt for more information. |
6 | |
7 | #ifndef UI_KEYS_H_INCLUDED |
8 | #define UI_KEYS_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "os/keys.h" |
12 | |
13 | namespace ui { |
14 | |
15 | typedef os::KeyModifiers KeyModifiers; |
16 | typedef os::KeyScancode KeyScancode; |
17 | |
18 | using os::kKeyNoneModifier; |
19 | using os::kKeyShiftModifier; |
20 | using os::kKeyCtrlModifier; |
21 | using os::kKeyAltModifier; |
22 | using os::kKeyCmdModifier; |
23 | using os::kKeySpaceModifier; |
24 | using os::kKeyWinModifier; |
25 | using os::kKeyUninitializedModifier; |
26 | |
27 | using os::kKeyNil; |
28 | using os::kKeyA; |
29 | using os::kKeyB; |
30 | using os::kKeyC; |
31 | using os::kKeyD; |
32 | using os::kKeyE; |
33 | using os::kKeyF; |
34 | using os::kKeyG; |
35 | using os::kKeyH; |
36 | using os::kKeyI; |
37 | using os::kKeyJ; |
38 | using os::kKeyK; |
39 | using os::kKeyL; |
40 | using os::kKeyM; |
41 | using os::kKeyN; |
42 | using os::kKeyO; |
43 | using os::kKeyP; |
44 | using os::kKeyQ; |
45 | using os::kKeyR; |
46 | using os::kKeyS; |
47 | using os::kKeyT; |
48 | using os::kKeyU; |
49 | using os::kKeyV; |
50 | using os::kKeyW; |
51 | using os::kKeyX; |
52 | using os::kKeyY; |
53 | using os::kKeyZ; |
54 | using os::kKey0; |
55 | using os::kKey1; |
56 | using os::kKey2; |
57 | using os::kKey3; |
58 | using os::kKey4; |
59 | using os::kKey5; |
60 | using os::kKey6; |
61 | using os::kKey7; |
62 | using os::kKey8; |
63 | using os::kKey9; |
64 | using os::kKey0Pad; |
65 | using os::kKey1Pad; |
66 | using os::kKey2Pad; |
67 | using os::kKey3Pad; |
68 | using os::kKey4Pad; |
69 | using os::kKey5Pad; |
70 | using os::kKey6Pad; |
71 | using os::kKey7Pad; |
72 | using os::kKey8Pad; |
73 | using os::kKey9Pad; |
74 | using os::kKeyF1; |
75 | using os::kKeyF2; |
76 | using os::kKeyF3; |
77 | using os::kKeyF4; |
78 | using os::kKeyF5; |
79 | using os::kKeyF6; |
80 | using os::kKeyF7; |
81 | using os::kKeyF8; |
82 | using os::kKeyF9; |
83 | using os::kKeyF10; |
84 | using os::kKeyF11; |
85 | using os::kKeyF12; |
86 | using os::kKeyEsc; |
87 | using os::kKeyTilde; |
88 | using os::kKeyMinus; |
89 | using os::kKeyEquals; |
90 | using os::kKeyBackspace; |
91 | using os::kKeyTab; |
92 | using os::kKeyOpenbrace; |
93 | using os::kKeyClosebrace; |
94 | using os::kKeyEnter; |
95 | using os::kKeyColon; |
96 | using os::kKeyQuote; |
97 | using os::kKeyBackslash; |
98 | using os::kKeyBackslash2; |
99 | using os::kKeyComma; |
100 | using os::kKeyStop; |
101 | using os::kKeySlash; |
102 | using os::kKeySpace; |
103 | using os::kKeyInsert; |
104 | using os::kKeyDel; |
105 | using os::kKeyHome; |
106 | using os::kKeyEnd; |
107 | using os::kKeyPageUp; |
108 | using os::kKeyPageDown; |
109 | using os::kKeyLeft; |
110 | using os::kKeyRight; |
111 | using os::kKeyUp; |
112 | using os::kKeyDown; |
113 | using os::kKeySlashPad; |
114 | using os::kKeyAsterisk; |
115 | using os::kKeyMinusPad; |
116 | using os::kKeyPlusPad; |
117 | using os::kKeyDelPad; |
118 | using os::kKeyEnterPad; |
119 | using os::kKeyPrtscr; |
120 | using os::kKeyPause; |
121 | using os::kKeyAbntC1; |
122 | using os::kKeyYen; |
123 | using os::kKeyKana; |
124 | using os::kKeyConvert; |
125 | using os::kKeyNoconvert; |
126 | using os::kKeyAt; |
127 | using os::kKeyCircumflex; |
128 | using os::kKeyColon2; |
129 | using os::kKeyKanji; |
130 | using os::kKeyEqualsPad; |
131 | using os::kKeyBackquote; |
132 | using os::kKeySemicolon; |
133 | using os::kKeyUnknown1; |
134 | using os::kKeyUnknown2; |
135 | using os::kKeyUnknown3; |
136 | using os::kKeyUnknown4; |
137 | using os::kKeyUnknown5; |
138 | using os::kKeyUnknown6; |
139 | using os::kKeyUnknown7; |
140 | using os::kKeyUnknown8; |
141 | |
142 | using os::kKeyFirstModifierScancode; |
143 | |
144 | using os::kKeyLShift; |
145 | using os::kKeyRShift; |
146 | using os::kKeyLControl; |
147 | using os::kKeyRControl; |
148 | using os::kKeyAlt; |
149 | using os::kKeyAltGr; |
150 | using os::kKeyLWin; |
151 | using os::kKeyRWin; |
152 | using os::kKeyMenu; |
153 | using os::kKeyCommand; |
154 | using os::kKeyScrLock; |
155 | using os::kKeyNumLock; |
156 | using os::kKeyCapsLock; |
157 | |
158 | using os::kKeyScancodes; |
159 | |
160 | } // namespace ui |
161 | |
162 | #endif |
163 | |