appium-novawindows2-driver 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug_report.yml +97 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +33 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +28 -0
- package/.github/workflows/lint-build.yml +30 -0
- package/.github/workflows/release.yml +39 -0
- package/.releaserc +41 -0
- package/CHANGELOG.md +33 -0
- package/LICENSE +202 -0
- package/README.md +557 -0
- package/build/eslint.config.d.mts +3 -0
- package/build/eslint.config.d.mts.map +1 -0
- package/build/eslint.config.mjs +6 -0
- package/build/eslint.config.mjs.map +1 -0
- package/build/lib/commands/actions.d.ts +11 -0
- package/build/lib/commands/actions.d.ts.map +1 -0
- package/build/lib/commands/actions.js +212 -0
- package/build/lib/commands/actions.js.map +1 -0
- package/build/lib/commands/app.d.ts +12 -0
- package/build/lib/commands/app.d.ts.map +1 -0
- package/build/lib/commands/app.js +195 -0
- package/build/lib/commands/app.js.map +1 -0
- package/build/lib/commands/device.d.ts +3 -0
- package/build/lib/commands/device.d.ts.map +1 -0
- package/build/lib/commands/device.js +31 -0
- package/build/lib/commands/device.js.map +1 -0
- package/build/lib/commands/element.d.ts +15 -0
- package/build/lib/commands/element.d.ts.map +1 -0
- package/build/lib/commands/element.js +213 -0
- package/build/lib/commands/element.js.map +1 -0
- package/build/lib/commands/extension.d.ts +87 -0
- package/build/lib/commands/extension.d.ts.map +1 -0
- package/build/lib/commands/extension.js +511 -0
- package/build/lib/commands/extension.js.map +1 -0
- package/build/lib/commands/functions.d.ts +3 -0
- package/build/lib/commands/functions.d.ts.map +1 -0
- package/build/lib/commands/functions.js +194 -0
- package/build/lib/commands/functions.js.map +1 -0
- package/build/lib/commands/index.d.ts +126 -0
- package/build/lib/commands/index.d.ts.map +1 -0
- package/build/lib/commands/index.js +54 -0
- package/build/lib/commands/index.js.map +1 -0
- package/build/lib/commands/powershell.d.ts +6 -0
- package/build/lib/commands/powershell.d.ts.map +1 -0
- package/build/lib/commands/powershell.js +204 -0
- package/build/lib/commands/powershell.js.map +1 -0
- package/build/lib/commands/system.d.ts +4 -0
- package/build/lib/commands/system.d.ts.map +1 -0
- package/build/lib/commands/system.js +8 -0
- package/build/lib/commands/system.js.map +1 -0
- package/build/lib/constants.d.ts +2 -0
- package/build/lib/constants.d.ts.map +1 -0
- package/build/lib/constants.js +5 -0
- package/build/lib/constants.js.map +1 -0
- package/build/lib/constraints.d.ts +40 -0
- package/build/lib/constraints.d.ts.map +1 -0
- package/build/lib/constraints.js +42 -0
- package/build/lib/constraints.js.map +1 -0
- package/build/lib/driver.d.ts +33 -0
- package/build/lib/driver.d.ts.map +1 -0
- package/build/lib/driver.js +181 -0
- package/build/lib/driver.js.map +1 -0
- package/build/lib/enums.d.ts +89 -0
- package/build/lib/enums.d.ts.map +1 -0
- package/build/lib/enums.js +83 -0
- package/build/lib/enums.js.map +1 -0
- package/build/lib/powershell/common.d.ts +39 -0
- package/build/lib/powershell/common.d.ts.map +1 -0
- package/build/lib/powershell/common.js +121 -0
- package/build/lib/powershell/common.js.map +1 -0
- package/build/lib/powershell/conditions.d.ts +24 -0
- package/build/lib/powershell/conditions.d.ts.map +1 -0
- package/build/lib/powershell/conditions.js +131 -0
- package/build/lib/powershell/conditions.js.map +1 -0
- package/build/lib/powershell/converter.d.ts +3 -0
- package/build/lib/powershell/converter.d.ts.map +1 -0
- package/build/lib/powershell/converter.js +273 -0
- package/build/lib/powershell/converter.js.map +1 -0
- package/build/lib/powershell/core.d.ts +8 -0
- package/build/lib/powershell/core.d.ts.map +1 -0
- package/build/lib/powershell/core.js +30 -0
- package/build/lib/powershell/core.js.map +1 -0
- package/build/lib/powershell/elements.d.ts +68 -0
- package/build/lib/powershell/elements.d.ts.map +1 -0
- package/build/lib/powershell/elements.js +515 -0
- package/build/lib/powershell/elements.js.map +1 -0
- package/build/lib/powershell/index.d.ts +8 -0
- package/build/lib/powershell/index.d.ts.map +1 -0
- package/build/lib/powershell/index.js +24 -0
- package/build/lib/powershell/index.js.map +1 -0
- package/build/lib/powershell/regex.d.ts +19 -0
- package/build/lib/powershell/regex.d.ts.map +1 -0
- package/build/lib/powershell/regex.js +68 -0
- package/build/lib/powershell/regex.js.map +1 -0
- package/build/lib/powershell/types.d.ts +155 -0
- package/build/lib/powershell/types.d.ts.map +1 -0
- package/build/lib/powershell/types.js +141 -0
- package/build/lib/powershell/types.js.map +1 -0
- package/build/lib/util.d.ts +10 -0
- package/build/lib/util.d.ts.map +1 -0
- package/build/lib/util.js +51 -0
- package/build/lib/util.js.map +1 -0
- package/build/lib/winapi/types/index.d.ts +8 -0
- package/build/lib/winapi/types/index.d.ts.map +1 -0
- package/build/lib/winapi/types/index.js +24 -0
- package/build/lib/winapi/types/index.js.map +1 -0
- package/build/lib/winapi/types/input.d.ts +11 -0
- package/build/lib/winapi/types/input.d.ts.map +1 -0
- package/build/lib/winapi/types/input.js +12 -0
- package/build/lib/winapi/types/input.js.map +1 -0
- package/build/lib/winapi/types/keyeventf.d.ts +13 -0
- package/build/lib/winapi/types/keyeventf.d.ts.map +1 -0
- package/build/lib/winapi/types/keyeventf.js +14 -0
- package/build/lib/winapi/types/keyeventf.js.map +1 -0
- package/build/lib/winapi/types/mouseeventf.d.ts +34 -0
- package/build/lib/winapi/types/mouseeventf.d.ts.map +1 -0
- package/build/lib/winapi/types/mouseeventf.js +37 -0
- package/build/lib/winapi/types/mouseeventf.js.map +1 -0
- package/build/lib/winapi/types/scancode.d.ts +95 -0
- package/build/lib/winapi/types/scancode.d.ts.map +1 -0
- package/build/lib/winapi/types/scancode.js +96 -0
- package/build/lib/winapi/types/scancode.js.map +1 -0
- package/build/lib/winapi/types/systemmetric.d.ts +214 -0
- package/build/lib/winapi/types/systemmetric.d.ts.map +1 -0
- package/build/lib/winapi/types/systemmetric.js +215 -0
- package/build/lib/winapi/types/systemmetric.js.map +1 -0
- package/build/lib/winapi/types/virtualkey.d.ts +353 -0
- package/build/lib/winapi/types/virtualkey.d.ts.map +1 -0
- package/build/lib/winapi/types/virtualkey.js +354 -0
- package/build/lib/winapi/types/virtualkey.js.map +1 -0
- package/build/lib/winapi/types/xmousebutton.d.ts +7 -0
- package/build/lib/winapi/types/xmousebutton.d.ts.map +1 -0
- package/build/lib/winapi/types/xmousebutton.js +8 -0
- package/build/lib/winapi/types/xmousebutton.js.map +1 -0
- package/build/lib/winapi/user32.d.ts +56 -0
- package/build/lib/winapi/user32.d.ts.map +1 -0
- package/build/lib/winapi/user32.js +591 -0
- package/build/lib/winapi/user32.js.map +1 -0
- package/build/lib/xpath/core.d.ts +8 -0
- package/build/lib/xpath/core.d.ts.map +1 -0
- package/build/lib/xpath/core.js +593 -0
- package/build/lib/xpath/core.js.map +1 -0
- package/build/lib/xpath/functions.d.ts +4 -0
- package/build/lib/xpath/functions.d.ts.map +1 -0
- package/build/lib/xpath/functions.js +271 -0
- package/build/lib/xpath/functions.js.map +1 -0
- package/build/lib/xpath/index.d.ts +3 -0
- package/build/lib/xpath/index.d.ts.map +1 -0
- package/build/lib/xpath/index.js +19 -0
- package/build/lib/xpath/index.js.map +1 -0
- package/eslint.config.mjs +11 -0
- package/examples/C#/CalculatorTest/CalculatorTest/CalculatorSession.cs +44 -0
- package/examples/C#/CalculatorTest/CalculatorTest/CalculatorTest.csproj +24 -0
- package/examples/C#/CalculatorTest/CalculatorTest/ScenarioStandard.cs +121 -0
- package/examples/C#/CalculatorTest/CalculatorTest/ScenarioStandardInvoke.cs +121 -0
- package/examples/C#/CalculatorTest/CalculatorTest.sln +16 -0
- package/lib/commands/actions.ts +229 -0
- package/lib/commands/app.ts +227 -0
- package/lib/commands/device.ts +41 -0
- package/lib/commands/element.ts +242 -0
- package/lib/commands/extension.ts +636 -0
- package/lib/commands/functions.ts +192 -0
- package/lib/commands/index.ts +28 -0
- package/lib/commands/powershell.ts +243 -0
- package/lib/commands/system.ts +7 -0
- package/lib/constants.ts +1 -0
- package/lib/constraints.ts +43 -0
- package/lib/driver.ts +247 -0
- package/lib/enums.ts +96 -0
- package/lib/powershell/common.ts +137 -0
- package/lib/powershell/conditions.ts +169 -0
- package/lib/powershell/converter.ts +373 -0
- package/lib/powershell/core.ts +29 -0
- package/lib/powershell/elements.ts +584 -0
- package/lib/powershell/index.ts +7 -0
- package/lib/powershell/regex.ts +77 -0
- package/lib/powershell/types.ts +208 -0
- package/lib/util.ts +52 -0
- package/lib/winapi/types/index.ts +7 -0
- package/lib/winapi/types/input.ts +12 -0
- package/lib/winapi/types/keyeventf.ts +14 -0
- package/lib/winapi/types/mouseeventf.ts +37 -0
- package/lib/winapi/types/scancode.ts +96 -0
- package/lib/winapi/types/systemmetric.ts +215 -0
- package/lib/winapi/types/virtualkey.ts +354 -0
- package/lib/winapi/types/xmousebutton.ts +8 -0
- package/lib/winapi/user32.ts +842 -0
- package/lib/xpath/core.ts +699 -0
- package/lib/xpath/functions.ts +366 -0
- package/lib/xpath/index.ts +2 -0
- package/package.json +61 -0
- package/tsconfig.json +13 -0
- package/verify_driver.js +96 -0
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import { Enum } from '../../enums';
|
|
2
|
+
|
|
3
|
+
export const VirtualKey = Object.freeze({
|
|
4
|
+
/** Left mouse button */
|
|
5
|
+
VK_LBUTTON: 0x01,
|
|
6
|
+
/** Right mouse button */
|
|
7
|
+
VK_RBUTTON: 0x02,
|
|
8
|
+
/** Control-break processing */
|
|
9
|
+
VK_CANCEL: 0x03,
|
|
10
|
+
/** Middle mouse button */
|
|
11
|
+
VK_MBUTTON: 0x04,
|
|
12
|
+
/** X1 mouse button */
|
|
13
|
+
VK_XBUTTON1: 0x05,
|
|
14
|
+
/** X2 mouse button */
|
|
15
|
+
VK_XBUTTON2: 0x06,
|
|
16
|
+
/** BACKSPACE key */
|
|
17
|
+
VK_BACK: 0x08,
|
|
18
|
+
/** TAB key */
|
|
19
|
+
VK_TAB: 0x09,
|
|
20
|
+
/** CLEAR key */
|
|
21
|
+
VK_CLEAR: 0x0C,
|
|
22
|
+
/** ENTER key */
|
|
23
|
+
VK_RETURN: 0x0D,
|
|
24
|
+
/** SHIFT key */
|
|
25
|
+
VK_SHIFT: 0x10,
|
|
26
|
+
/** CTRL key */
|
|
27
|
+
VK_CONTROL: 0x11,
|
|
28
|
+
/** ALT key */
|
|
29
|
+
VK_MENU: 0x12,
|
|
30
|
+
/** PAUSE key */
|
|
31
|
+
VK_PAUSE: 0x13,
|
|
32
|
+
/** CAPS LOCK key */
|
|
33
|
+
VK_CAPITAL: 0x14,
|
|
34
|
+
/** IME Kana mode */
|
|
35
|
+
VK_KANA: 0x15,
|
|
36
|
+
/** IME Hangul mode */
|
|
37
|
+
VK_HANGUL: 0x15,
|
|
38
|
+
/** IME On */
|
|
39
|
+
VK_IME_ON: 0x16,
|
|
40
|
+
/** IME Junja mode */
|
|
41
|
+
VK_JUNJA: 0x17,
|
|
42
|
+
/** IME final mode */
|
|
43
|
+
VK_FINAL: 0x18,
|
|
44
|
+
/** IME Hanja mode */
|
|
45
|
+
VK_HANJA: 0x19,
|
|
46
|
+
/** IME Kanji mode */
|
|
47
|
+
VK_KANJI: 0x19,
|
|
48
|
+
/** IME Off */
|
|
49
|
+
VK_IME_OFF: 0x1A,
|
|
50
|
+
/** ESC key */
|
|
51
|
+
VK_ESCAPE: 0x1B,
|
|
52
|
+
/** IME convert */
|
|
53
|
+
VK_CONVERT: 0x1C,
|
|
54
|
+
/** IME nonconvert */
|
|
55
|
+
VK_NONCONVERT: 0x1D,
|
|
56
|
+
/** IME accept */
|
|
57
|
+
VK_ACCEPT: 0x1E,
|
|
58
|
+
/** IME mode change request */
|
|
59
|
+
VK_MODECHANGE: 0x1F,
|
|
60
|
+
/** SPACEBAR */
|
|
61
|
+
VK_SPACE: 0x20,
|
|
62
|
+
/** PAGE UP key */
|
|
63
|
+
VK_PRIOR: 0x21,
|
|
64
|
+
/** PAGE DOWN key */
|
|
65
|
+
VK_NEXT: 0x22,
|
|
66
|
+
/** END key */
|
|
67
|
+
VK_END: 0x23,
|
|
68
|
+
/** HOME key */
|
|
69
|
+
VK_HOME: 0x24,
|
|
70
|
+
/** LEFT ARROW key */
|
|
71
|
+
VK_LEFT: 0x25,
|
|
72
|
+
/** UP ARROW key */
|
|
73
|
+
VK_UP: 0x26,
|
|
74
|
+
/** RIGHT ARROW key */
|
|
75
|
+
VK_RIGHT: 0x27,
|
|
76
|
+
/** DOWN ARROW key */
|
|
77
|
+
VK_DOWN: 0x28,
|
|
78
|
+
/** SELECT key */
|
|
79
|
+
VK_SELECT: 0x29,
|
|
80
|
+
/** PRINT key */
|
|
81
|
+
VK_PRINT: 0x2A,
|
|
82
|
+
/** EXECUTE key */
|
|
83
|
+
VK_EXECUTE: 0x2B,
|
|
84
|
+
/** PRINT SCREEN key */
|
|
85
|
+
VK_SNAPSHOT: 0x2C,
|
|
86
|
+
/** INS key */
|
|
87
|
+
VK_INSERT: 0x2D,
|
|
88
|
+
/** DEL key */
|
|
89
|
+
VK_DELETE: 0x2E,
|
|
90
|
+
/** HELP key */
|
|
91
|
+
VK_HELP: 0x2F,
|
|
92
|
+
/** 0 key */
|
|
93
|
+
VK_KEY_0: 0x30,
|
|
94
|
+
/** 1 key */
|
|
95
|
+
VK_KEY_1: 0x31,
|
|
96
|
+
/** 2 key */
|
|
97
|
+
VK_KEY_2: 0x32,
|
|
98
|
+
/** 3 key */
|
|
99
|
+
VK_KEY_3: 0x33,
|
|
100
|
+
/** 4 key */
|
|
101
|
+
VK_KEY_4: 0x34,
|
|
102
|
+
/** 5 key */
|
|
103
|
+
VK_KEY_5: 0x35,
|
|
104
|
+
/** 6 key */
|
|
105
|
+
VK_KEY_6: 0x36,
|
|
106
|
+
/** 7 key */
|
|
107
|
+
VK_KEY_7: 0x37,
|
|
108
|
+
/** 8 key */
|
|
109
|
+
VK_KEY_8: 0x38,
|
|
110
|
+
/** 9 key */
|
|
111
|
+
VK_KEY_9: 0x39,
|
|
112
|
+
/** A key */
|
|
113
|
+
VK_KEY_A: 0x41,
|
|
114
|
+
/** B key */
|
|
115
|
+
VK_KEY_B: 0x42,
|
|
116
|
+
/** C key */
|
|
117
|
+
VK_KEY_C: 0x43,
|
|
118
|
+
/** D key */
|
|
119
|
+
VK_KEY_D: 0x44,
|
|
120
|
+
/** E key */
|
|
121
|
+
VK_KEY_E: 0x45,
|
|
122
|
+
/** F key */
|
|
123
|
+
VK_KEY_F: 0x46,
|
|
124
|
+
/** G key */
|
|
125
|
+
VK_KEY_G: 0x47,
|
|
126
|
+
/** H key */
|
|
127
|
+
VK_KEY_H: 0x48,
|
|
128
|
+
/** I key */
|
|
129
|
+
VK_KEY_I: 0x49,
|
|
130
|
+
/** J key */
|
|
131
|
+
VK_KEY_J: 0x4A,
|
|
132
|
+
/** K key */
|
|
133
|
+
VK_KEY_K: 0x4B,
|
|
134
|
+
/** L key */
|
|
135
|
+
VK_KEY_L: 0x4C,
|
|
136
|
+
/** M key */
|
|
137
|
+
VK_KEY_M: 0x4D,
|
|
138
|
+
/** N key */
|
|
139
|
+
VK_KEY_N: 0x4E,
|
|
140
|
+
/** O key */
|
|
141
|
+
VK_KEY_O: 0x4F,
|
|
142
|
+
/** P key */
|
|
143
|
+
VK_KEY_P: 0x50,
|
|
144
|
+
/** Q key */
|
|
145
|
+
VK_KEY_Q: 0x51,
|
|
146
|
+
/** R key */
|
|
147
|
+
VK_KEY_R: 0x52,
|
|
148
|
+
/** S key */
|
|
149
|
+
VK_KEY_S: 0x53,
|
|
150
|
+
/** T key */
|
|
151
|
+
VK_KEY_T: 0x54,
|
|
152
|
+
/** U key */
|
|
153
|
+
VK_KEY_U: 0x55,
|
|
154
|
+
/** V key */
|
|
155
|
+
VK_KEY_V: 0x56,
|
|
156
|
+
/** W key */
|
|
157
|
+
VK_KEY_W: 0x57,
|
|
158
|
+
/** X key */
|
|
159
|
+
VK_KEY_X: 0x58,
|
|
160
|
+
/** Y key */
|
|
161
|
+
VK_KEY_Y: 0x59,
|
|
162
|
+
/** Z key */
|
|
163
|
+
VK_KEY_Z: 0x5A,
|
|
164
|
+
/** Left Windows key */
|
|
165
|
+
VK_LWIN: 0x5B,
|
|
166
|
+
/** Right Windows key */
|
|
167
|
+
VK_RWIN: 0x5C,
|
|
168
|
+
/** Applications key */
|
|
169
|
+
VK_APPS: 0x5D,
|
|
170
|
+
/** Computer Sleep key */
|
|
171
|
+
VK_SLEEP: 0x5F,
|
|
172
|
+
/** Numeric keypad 0 key */
|
|
173
|
+
VK_NUMPAD0: 0x60,
|
|
174
|
+
/** Numeric keypad 1 key */
|
|
175
|
+
VK_NUMPAD1: 0x61,
|
|
176
|
+
/** Numeric keypad 2 key */
|
|
177
|
+
VK_NUMPAD2: 0x62,
|
|
178
|
+
/** Numeric keypad 3 key */
|
|
179
|
+
VK_NUMPAD3: 0x63,
|
|
180
|
+
/** Numeric keypad 4 key */
|
|
181
|
+
VK_NUMPAD4: 0x64,
|
|
182
|
+
/** Numeric keypad 5 key */
|
|
183
|
+
VK_NUMPAD5: 0x65,
|
|
184
|
+
/** Numeric keypad 6 key */
|
|
185
|
+
VK_NUMPAD6: 0x66,
|
|
186
|
+
/** Numeric keypad 7 key */
|
|
187
|
+
VK_NUMPAD7: 0x67,
|
|
188
|
+
/** Numeric keypad 8 key */
|
|
189
|
+
VK_NUMPAD8: 0x68,
|
|
190
|
+
/** Numeric keypad 9 key */
|
|
191
|
+
VK_NUMPAD9: 0x69,
|
|
192
|
+
/** Multiply key */
|
|
193
|
+
VK_MULTIPLY: 0x6A,
|
|
194
|
+
/** Add key */
|
|
195
|
+
VK_ADD: 0x6B,
|
|
196
|
+
/** Separator key */
|
|
197
|
+
VK_SEPARATOR: 0x6C,
|
|
198
|
+
/** Subtract key */
|
|
199
|
+
VK_SUBTRACT: 0x6D,
|
|
200
|
+
/** Decimal key */
|
|
201
|
+
VK_DECIMAL: 0x6E,
|
|
202
|
+
/** Divide key */
|
|
203
|
+
VK_DIVIDE: 0x6F,
|
|
204
|
+
/** F1 key */
|
|
205
|
+
VK_F1: 0x70,
|
|
206
|
+
/** F2 key */
|
|
207
|
+
VK_F2: 0x71,
|
|
208
|
+
/** F3 key */
|
|
209
|
+
VK_F3: 0x72,
|
|
210
|
+
/** F4 key */
|
|
211
|
+
VK_F4: 0x73,
|
|
212
|
+
/** F5 key */
|
|
213
|
+
VK_F5: 0x74,
|
|
214
|
+
/** F6 key */
|
|
215
|
+
VK_F6: 0x75,
|
|
216
|
+
/** F7 key */
|
|
217
|
+
VK_F7: 0x76,
|
|
218
|
+
/** F8 key */
|
|
219
|
+
VK_F8: 0x77,
|
|
220
|
+
/** F9 key */
|
|
221
|
+
VK_F9: 0x78,
|
|
222
|
+
/** F10 key */
|
|
223
|
+
VK_F10: 0x79,
|
|
224
|
+
/** F11 key */
|
|
225
|
+
VK_F11: 0x7A,
|
|
226
|
+
/** F12 key */
|
|
227
|
+
VK_F12: 0x7B,
|
|
228
|
+
/** F13 key */
|
|
229
|
+
VK_F13: 0x7C,
|
|
230
|
+
/** F14 key */
|
|
231
|
+
VK_F14: 0x7D,
|
|
232
|
+
/** F15 key */
|
|
233
|
+
VK_F15: 0x7E,
|
|
234
|
+
/** F16 key */
|
|
235
|
+
VK_F16: 0x7F,
|
|
236
|
+
/** F17 key */
|
|
237
|
+
VK_F17: 0x80,
|
|
238
|
+
/** F18 key */
|
|
239
|
+
VK_F18: 0x81,
|
|
240
|
+
/** F19 key */
|
|
241
|
+
VK_F19: 0x82,
|
|
242
|
+
/** F20 key */
|
|
243
|
+
VK_F20: 0x83,
|
|
244
|
+
/** F21 key */
|
|
245
|
+
VK_F21: 0x84,
|
|
246
|
+
/** F22 key */
|
|
247
|
+
VK_F22: 0x85,
|
|
248
|
+
/** F23 key */
|
|
249
|
+
VK_F23: 0x86,
|
|
250
|
+
/** F24 key */
|
|
251
|
+
VK_F24: 0x87,
|
|
252
|
+
/** NUM LOCK key */
|
|
253
|
+
VK_NUMLOCK: 0x90,
|
|
254
|
+
/** SCROLL LOCK key */
|
|
255
|
+
VK_SCROLL: 0x91,
|
|
256
|
+
/** Left SHIFT key */
|
|
257
|
+
VK_LSHIFT: 0xA0,
|
|
258
|
+
/** Right SHIFT key */
|
|
259
|
+
VK_RSHIFT: 0xA1,
|
|
260
|
+
/** Left CONTROL key */
|
|
261
|
+
VK_LCONTROL: 0xA2,
|
|
262
|
+
/** Right CONTROL key */
|
|
263
|
+
VK_RCONTROL: 0xA3,
|
|
264
|
+
/** Left ALT key */
|
|
265
|
+
VK_LMENU: 0xA4,
|
|
266
|
+
/** Right ALT key */
|
|
267
|
+
VK_RMENU: 0xA5,
|
|
268
|
+
/** Browser Back key */
|
|
269
|
+
VK_BROWSER_BACK: 0xA6,
|
|
270
|
+
/** Browser Forward key */
|
|
271
|
+
VK_BROWSER_FORWARD: 0xA7,
|
|
272
|
+
/** Browser Refresh key */
|
|
273
|
+
VK_BROWSER_REFRESH: 0xA8,
|
|
274
|
+
/** Browser Stop key */
|
|
275
|
+
VK_BROWSER_STOP: 0xA9,
|
|
276
|
+
/** Browser Search key */
|
|
277
|
+
VK_BROWSER_SEARCH: 0xAA,
|
|
278
|
+
/** Browser Favorites key */
|
|
279
|
+
VK_BROWSER_FAVORITES: 0xAB,
|
|
280
|
+
/** Browser Start and Home key */
|
|
281
|
+
VK_BROWSER_HOME: 0xAC,
|
|
282
|
+
/** Volume Mute key */
|
|
283
|
+
VK_VOLUME_MUTE: 0xAD,
|
|
284
|
+
/** Volume Down key */
|
|
285
|
+
VK_VOLUME_DOWN: 0xAE,
|
|
286
|
+
/** Volume Up key */
|
|
287
|
+
VK_VOLUME_UP: 0xAF,
|
|
288
|
+
/** Next Track key */
|
|
289
|
+
VK_MEDIA_NEXT_TRACK: 0xB0,
|
|
290
|
+
/** Previous Track key */
|
|
291
|
+
VK_MEDIA_PREV_TRACK: 0xB1,
|
|
292
|
+
/** Stop Media key */
|
|
293
|
+
VK_MEDIA_STOP: 0xB2,
|
|
294
|
+
/** Play/Pause Media key */
|
|
295
|
+
VK_MEDIA_PLAY_PAUSE: 0xB3,
|
|
296
|
+
/** Start Mail key */
|
|
297
|
+
VK_LAUNCH_MAIL: 0xB4,
|
|
298
|
+
/** Select Media key */
|
|
299
|
+
VK_LAUNCH_MEDIA_SELECT: 0xB6,
|
|
300
|
+
/** Start Application 1 key */
|
|
301
|
+
VK_LAUNCH_APP2: 0xB7,
|
|
302
|
+
/** Start Application 2 key */
|
|
303
|
+
VK_OEM_1: 0xBA,
|
|
304
|
+
/** Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the ;: key */
|
|
305
|
+
VK_OEM_PLUS: 0xBB,
|
|
306
|
+
/** For any country/region, the + key */
|
|
307
|
+
VK_OEM_COMMA: 0xBC,
|
|
308
|
+
/** For any country/region, the , key */
|
|
309
|
+
VK_OEM_MINUS: 0xBD,
|
|
310
|
+
/** For any country/region, the - key */
|
|
311
|
+
VK_OEM_PERIOD: 0xBE,
|
|
312
|
+
/** For any country/region, the . key */
|
|
313
|
+
VK_OEM_2: 0xBF,
|
|
314
|
+
/** Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the /? key */
|
|
315
|
+
VK_OEM_3: 0xC0,
|
|
316
|
+
/** Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the `~ key */
|
|
317
|
+
VK_OEM_4: 0xDB,
|
|
318
|
+
/** Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the [{ key */
|
|
319
|
+
VK_OEM_5: 0xDC,
|
|
320
|
+
/** Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the \\| key */
|
|
321
|
+
VK_OEM_6: 0xDD,
|
|
322
|
+
/** Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the ]} key */
|
|
323
|
+
VK_OEM_7: 0xDE,
|
|
324
|
+
/** Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the '" key */
|
|
325
|
+
VK_OEM_8: 0xDF,
|
|
326
|
+
/** Used for miscellaneous characters; it can vary by keyboard. */
|
|
327
|
+
VK_OEM_102: 0xE2,
|
|
328
|
+
/** The <> keys on the US standard keyboard, or the \\| key on the non-US 102-key keyboard */
|
|
329
|
+
VK_PROCESSKEY: 0xE5,
|
|
330
|
+
/** IME PROCESS key */
|
|
331
|
+
VK_PACKET: 0xE7,
|
|
332
|
+
/** Auto */
|
|
333
|
+
VK_OEM_AUTO: 0xF3,
|
|
334
|
+
/** Used to pass Unicode characters as if they were keystrokes. The VK_PACKET key is the low word of a 32-bit Virtual Key value used for non-keyboard input methods. For more information, see Remark in KEYBDINPUT, SendInput, WM_KEYDOWN, and WM_KEYUP */
|
|
335
|
+
VK_ATTN: 0xF6,
|
|
336
|
+
/** Attn key */
|
|
337
|
+
VK_CRSEL: 0xF7,
|
|
338
|
+
/** CrSel key */
|
|
339
|
+
VK_EXSEL: 0xF8,
|
|
340
|
+
/** ExSel key */
|
|
341
|
+
VK_EREOF: 0xF9,
|
|
342
|
+
/** Erase EOF key */
|
|
343
|
+
VK_PLAY: 0xFA,
|
|
344
|
+
/** Play key */
|
|
345
|
+
VK_ZOOM: 0xFB,
|
|
346
|
+
/** Zoom key */
|
|
347
|
+
VK_NONAME: 0xFC,
|
|
348
|
+
/** PA1 key */
|
|
349
|
+
VK_PA1: 0xFD,
|
|
350
|
+
/** Clear key */
|
|
351
|
+
VK_OEM_CLEAR: 0xFE,
|
|
352
|
+
} as const);
|
|
353
|
+
|
|
354
|
+
export type VirtualKey = Enum<typeof VirtualKey>;
|