Added wireless support; Added Lemokey L3; Added Keychron V1 Max

This commit is contained in:
lokher 2024-01-10 16:22:49 +08:00
parent 9539f135d8
commit 4ae5990fcc
31585 changed files with 99327 additions and 1763186 deletions

View file

@ -135,10 +135,10 @@ void host_system_send(uint16_t usage) {
if (!driver) return;
report_extra_t report = {
.report_id = REPORT_ID_SYSTEM,
.usage = usage,
};
static report_extra_t report;
report.report_id = REPORT_ID_SYSTEM;
report.usage = usage;
(*driver->send_extra)(&report);
}
@ -155,10 +155,10 @@ void host_consumer_send(uint16_t usage) {
if (!driver) return;
report_extra_t report = {
.report_id = REPORT_ID_CONSUMER,
.usage = usage,
};
static report_extra_t report;
report.report_id = REPORT_ID_CONSUMER;
report.usage = usage;
(*driver->send_extra)(&report);
}