Simplify extrakeys sending at the host driver level (#18230)
* Simplify extrakeys sending at the host driver level * There are two arguments here * Wrong syntax * Adjust keyboards which use a custom host driver
This commit is contained in:
parent
0ceaaaae8e
commit
09d668eb0e
12 changed files with 70 additions and 149 deletions
|
@ -107,7 +107,7 @@ void host_system_send(uint16_t report) {
|
|||
last_system_report = report;
|
||||
|
||||
if (!driver) return;
|
||||
(*driver->send_system)(report);
|
||||
(*driver->send_extra)(REPORT_ID_SYSTEM, report);
|
||||
}
|
||||
|
||||
void host_consumer_send(uint16_t report) {
|
||||
|
@ -115,7 +115,7 @@ void host_consumer_send(uint16_t report) {
|
|||
last_consumer_report = report;
|
||||
|
||||
if (!driver) return;
|
||||
(*driver->send_consumer)(report);
|
||||
(*driver->send_extra)(REPORT_ID_CONSUMER, report);
|
||||
}
|
||||
|
||||
void host_digitizer_send(digitizer_t *digitizer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue