mousekey: expose current report to users (#13069)
This commit is contained in:
parent
3ab805fc67
commit
b5c361542e
|
@ -486,3 +486,5 @@ static void mousekey_debug(void) {
|
||||||
print_dec(mousekey_accel);
|
print_dec(mousekey_accel);
|
||||||
print(")\n");
|
print(")\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
report_mouse_t mousekey_get_report(void) { return mouse_report; }
|
||||||
|
|
|
@ -168,11 +168,12 @@ extern uint8_t mk_time_to_max;
|
||||||
extern uint8_t mk_wheel_max_speed;
|
extern uint8_t mk_wheel_max_speed;
|
||||||
extern uint8_t mk_wheel_time_to_max;
|
extern uint8_t mk_wheel_time_to_max;
|
||||||
|
|
||||||
void mousekey_task(void);
|
void mousekey_task(void);
|
||||||
void mousekey_on(uint8_t code);
|
void mousekey_on(uint8_t code);
|
||||||
void mousekey_off(uint8_t code);
|
void mousekey_off(uint8_t code);
|
||||||
void mousekey_clear(void);
|
void mousekey_clear(void);
|
||||||
void mousekey_send(void);
|
void mousekey_send(void);
|
||||||
|
report_mouse_t mousekey_get_report(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue