File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ void host_keyboard_send(report_keyboard_t *report)
54
54
(* driver -> send_keyboard )(report );
55
55
56
56
if (debug_keyboard ) {
57
- dprint ("keyboard_report : " );
57
+ dprint ("keyboard : " );
58
58
for (uint8_t i = 0 ; i < KEYBOARD_REPORT_SIZE ; i ++ ) {
59
59
dprintf ("%02X " , report -> raw [i ]);
60
60
}
@@ -75,6 +75,10 @@ void host_system_send(uint16_t report)
75
75
76
76
if (!driver ) return ;
77
77
(* driver -> send_system )(report );
78
+
79
+ if (debug_keyboard ) {
80
+ dprintf ("system: %04X\n" , report );
81
+ }
78
82
}
79
83
80
84
void host_consumer_send (uint16_t report )
@@ -84,6 +88,10 @@ void host_consumer_send(uint16_t report)
84
88
85
89
if (!driver ) return ;
86
90
(* driver -> send_consumer )(report );
91
+
92
+ if (debug_keyboard ) {
93
+ dprintf ("consumer: %04X\n" , report );
94
+ }
87
95
}
88
96
89
97
uint16_t host_last_sysytem_report (void )
You can’t perform that action at this time.
0 commit comments