Ticket #3077: usb_hid_debug.diff
File usb_hid_debug.diff, 807 bytes (added by , 16 years ago) |
---|
-
src/add-ons/kernel/drivers/input/usb_hid/KeyboardDevice.cpp
319 319 _WriteKey(sModifierTable[i], (fTransferBuffer[0] >> i) & 1); 320 320 } 321 321 322 dprintf("usb_hid: time: %lld\n", system_time()); 323 dprintf("usb_hid: last: "); 324 for (int32 i = 0; i < fTotalReportSize; i++) 325 dprintf(" 0x%02x", fLastTransferBuffer[i]); 326 dprintf("\nusb_hid: current:"); 327 for (int32 i = 0; i < fTotalReportSize; i++) 328 dprintf(" 0x%02x", fTransferBuffer[i]); 329 dprintf("\n"); 330 322 331 bool keyDown = false; 323 332 uint8 *current = fLastTransferBuffer; 324 333 uint8 *compare = fTransferBuffer;