OLD | NEW |
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 Loading... |
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 | |
OLD | NEW |