|
|
|
|
|
|
|
|
println(" bInterfaceClass = ", descriptors[5]); |
|
|
println(" bInterfaceClass = ", descriptors[5]); |
|
|
println(" bInterfaceSubClass = ", descriptors[6]); |
|
|
println(" bInterfaceSubClass = ", descriptors[6]); |
|
|
println(" bInterfaceProtocol = ", descriptors[7]); |
|
|
println(" bInterfaceProtocol = ", descriptors[7]); |
|
|
|
|
|
// do not claim boot protocol keyboards |
|
|
|
|
|
if (descriptors[6] == 1 && descriptors[7] == 1) return false; |
|
|
|
|
|
|
|
|
// hid interface descriptor |
|
|
// hid interface descriptor |
|
|
uint32_t hidlen = descriptors[9]; |
|
|
uint32_t hidlen = descriptors[9]; |