OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_PROTOCOL_USB_KEY_CODES_H_ | |
6 #define REMOTING_PROTOCOL_USB_KEY_CODES_H_ | |
7 | |
8 // Frequently used USB key-codes (not comprehensive--add more as needed). | |
9 // TODO(liaoyuke): This could be cleaned up by reusing the data in | |
10 // "ui/events/keycodes/dom/keycode_converter_data.inc". | |
11 | |
12 enum { | |
13 kUsbA = 0x070004, | |
14 kUsbN = 0x070011, | |
15 kUsbW = 0x07001a, | |
16 kUsbEnter = 0x070028, | |
17 kUsbTab = 0x07002b, | |
18 kUsbCapsLock = 0x070039, | |
19 kUsbF4 = 0x07003d, | |
20 kUsbInsert = 0x070049, | |
21 kUsbDelete = 0x07004c, | |
22 kUsbLeftControl = 0x0700e0, | |
23 kUsbLeftShift = 0x0700e1, | |
24 kUsbLeftAlt = 0x0700e2, | |
25 kUsbLeftOs = 0x0700e3, | |
26 kUsbRightArrow = 0x07004f, | |
27 kUsbRightControl = 0x0700e4, | |
28 kUsbRightShift = 0x0700e5, | |
29 kUsbRightAlt = 0x0700e6, | |
30 kUsbRightOs = 0x0700e7 | |
31 }; | |
32 | |
33 #endif // REMOTING_PROTOCOL_USB_KEY_CODES_H_ | |
OLD | NEW |