forked from mirrors/qmk_userspace
Refactor send_extra
(#18615)
This commit is contained in:
parent
cbe1c22d46
commit
6dbbeea46a
16 changed files with 68 additions and 107 deletions
|
@ -32,13 +32,13 @@ class TestDriver {
|
|||
|
||||
MOCK_METHOD1(send_keyboard_mock, void(report_keyboard_t&));
|
||||
MOCK_METHOD1(send_mouse_mock, void(report_mouse_t&));
|
||||
MOCK_METHOD2(send_extra_mock, void(uint8_t, uint16_t));
|
||||
MOCK_METHOD1(send_extra_mock, void(report_extra_t&));
|
||||
|
||||
private:
|
||||
static uint8_t keyboard_leds(void);
|
||||
static void send_keyboard(report_keyboard_t* report);
|
||||
static void send_mouse(report_mouse_t* report);
|
||||
static void send_extra(uint8_t report_id, uint16_t data);
|
||||
static void send_extra(report_extra_t* report);
|
||||
host_driver_t m_driver;
|
||||
uint8_t m_leds = 0;
|
||||
static TestDriver* m_this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue