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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user