Refactor more host code (programmable button & digitizer) (#18565)
This commit is contained in:
parent
3168a3c883
commit
09d3e27710
7 changed files with 30 additions and 50 deletions
|
@ -59,11 +59,9 @@ uint8_t keyboard_leds(void);
|
|||
void send_keyboard(report_keyboard_t *report);
|
||||
void send_mouse(report_mouse_t *report);
|
||||
void send_extra(uint8_t report_id, uint16_t data);
|
||||
void send_programmable_button(uint32_t data);
|
||||
void send_digitizer(report_digitizer_t *report);
|
||||
|
||||
/* host struct */
|
||||
host_driver_t chibios_driver = {keyboard_leds, send_keyboard, send_mouse, send_extra, send_programmable_button};
|
||||
host_driver_t chibios_driver = {keyboard_leds, send_keyboard, send_mouse, send_extra};
|
||||
|
||||
#ifdef VIRTSER_ENABLE
|
||||
void virtser_task(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue