+ // USB NKRO Debug output
+ if ( Output_DebugMode )
+ {
+ printHex_op( USBKeys_Modifiers, 2 );
+ print(" ");
+ for ( uint8_t c = 0; c < 6; c++ )
+ printHex_op( USBKeys_Keys[ c ], 2 );
+ print(" ");
+ for ( uint8_t c = 6; c < 20; c++ )
+ printHex_op( USBKeys_Keys[ c ], 2 );
+ print(" ");
+ printHex_op( USBKeys_Keys[20], 2 );
+ print(" ");
+ for ( uint8_t c = 21; c < 27; c++ )
+ printHex_op( USBKeys_Keys[ c ], 2 );
+ print( NL );
+ }
+
+ tx_packet->len = 0;
+
+ // Modifiers
+ *tx_buf++ = 0x01; // ID
+ *tx_buf++ = USBKeys_Modifiers;
+ tx_packet->len += 2;
+
+ // 4-49 (first 6 bytes)
+ memcpy( tx_buf, USBKeys_Keys, 6 );
+ tx_buf += 6;
+ tx_packet->len += 6;