@@ -70,9 +70,11 @@ extern "C" void Hid_DumpTransportState(void)
7070 c2usb_log (" powerMode=%d usbUp=%d usbAwake=%d\n " ,
7171 (int )CurrentPowerMode, (int )UsbState_IsTransportUp (), (int )UsbState_IsAwake ());
7272 uint32_t now = Timer_GetCurrentTime ();
73- c2usb_log (" key life (ms ago): scan=%u queued=%u/forceQueued=%u/applied=%u action=%u delivered=%u\n " ,
74- now - KeyLifeTimes.scan , now - KeyLifeTimes.queued , now - KeyLifeTimes.forceQueued ,
75- now - KeyLifeTimes.applied , now - KeyLifeTimes.action , now - KeyLifeTimes.delivered );
73+ c2usb_log (" key life (ms ago): scan(%d)=%u queued=%u/forceQueued=%u/applied=%u action=%u delivered=%u\n " ,
74+ (int )KeyLifeTimes.scanActive , now - KeyLifeTimes.scan , now - KeyLifeTimes.queued ,
75+ now - KeyLifeTimes.forceQueued , now - KeyLifeTimes.applied , now - KeyLifeTimes.action ,
76+ now - KeyLifeTimes.delivered );
77+ c2usb_log (" inactive kb report: %s\n " , Utils_GetUsbReportString (GetInactiveKeyboardReport ()));
7678 c2usb_log (" semaphore (inFlight/retries/needsResend): kb=%d/%d/%d ctl=%d/%d/%d mouse=%d/%d/%d givenUp=%d\n " ,
7779 (int )UsbSemaphore.keyboard .inFlight , (int )UsbSemaphore.keyboard .retries , (int )UsbSemaphore.keyboard .needsResending ,
7880 (int )UsbSemaphore.controls .inFlight , (int )UsbSemaphore.controls .retries , (int )UsbSemaphore.controls .needsResending ,
0 commit comments