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

Side by Side Diff: tools/usb_gadget/usb_constants.py

Issue 436213005: usb_gadget: Switch to official Google product IDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « device/test/usb_test_gadget_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """USB constant definitions. 5 """USB constant definitions.
6 """ 6 """
7 7
8 8
9 class DescriptorType(object): 9 class DescriptorType(object):
10 """Descriptor Types. 10 """Descriptor Types.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 HIGH = 3 155 HIGH = 3
156 WIRELESS = 4 156 WIRELESS = 4
157 SUPER = 5 157 SUPER = 5
158 158
159 159
160 class VendorID(object): 160 class VendorID(object):
161 GOOGLE = 0x18D1 161 GOOGLE = 0x18D1
162 162
163 163
164 class ProductID(object): 164 class ProductID(object):
165 # TODO(reillyg): Get officially assigned IDs for these devices. 165 GOOGLE_TEST_GADGET = 0x58F0
166 GOOGLE_TEST_GADGET = 0x2000 166 GOOGLE_KEYBOARD_GADGET = 0x58F1
167 GOOGLE_KEYBOARD_GADGET = 0x2001 167 GOOGLE_MOUSE_GADGET = 0x58F2
168 GOOGLE_MOUSE_GADGET = 0x2002 168 GOOGLE_HID_ECHO_GADGET = 0x58F3
169 GOOGLE_HID_ECHO_GADGET = 0x2003
OLDNEW
« no previous file with comments | « device/test/usb_test_gadget_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698