Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: remoting/protocol/usb_key_codes.h

Issue 1403583003: Use standard DOM code definitions instead of custom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer feedback. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/protocol/input_event_tracker_unittest.cc ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « remoting/protocol/input_event_tracker_unittest.cc ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698