// the idle configuration, how often we send the report to the
// host (ms * 4) even when it hasn't changed
+// Windows and Linux set 0 while OS X sets 6(24ms) by SET_IDLE request.
uint8_t usb_keyboard_idle_config=125;
// count until idle timeout
UENUM = endpoint;
}
UEDATX = report->mods;
+#ifdef USB_NKRO_ENABLE
if (!keyboard_nkro)
UEDATX = 0;
+#else
+ UEDATX = 0;
+#endif
for (uint8_t i = keys_start; i < keys_end; i++) {
UEDATX = report->keys[i];
}