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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 # TODO(reillyg): Get officially assigned IDs for these devices. |
166 GOOGLE_TEST_GADGET = 0x2000 | 166 GOOGLE_TEST_GADGET = 0x2000 |
167 GOOGLE_KEYBOARD_GADGET = 0x2001 | 167 GOOGLE_KEYBOARD_GADGET = 0x2001 |
168 GOOGLE_MOUSE_GADGET = 0x2002 | 168 GOOGLE_MOUSE_GADGET = 0x2002 |
| 169 GOOGLE_HID_ECHO_GADGET = 0x2003 |
OLD | NEW |