forked from mirrors/qmk_firmware
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
f7eb7926e8
2 changed files with 5 additions and 4 deletions
|
@ -74,10 +74,6 @@ uint8_t mk_wheel_interval = MOUSEKEY_WHEEL_INTERVAL;
|
||||||
uint8_t mk_wheel_max_speed = MOUSEKEY_WHEEL_MAX_SPEED;
|
uint8_t mk_wheel_max_speed = MOUSEKEY_WHEEL_MAX_SPEED;
|
||||||
uint8_t mk_wheel_time_to_max = MOUSEKEY_WHEEL_TIME_TO_MAX;
|
uint8_t mk_wheel_time_to_max = MOUSEKEY_WHEEL_TIME_TO_MAX;
|
||||||
|
|
||||||
bool should_mousekey_report_send(report_mouse_t *mouse_report) {
|
|
||||||
return mouse_report->x || mouse_report->y || mouse_report->v || mouse_report->h;
|
|
||||||
}
|
|
||||||
|
|
||||||
# ifndef MK_COMBINED
|
# ifndef MK_COMBINED
|
||||||
# ifndef MK_KINETIC_SPEED
|
# ifndef MK_KINETIC_SPEED
|
||||||
|
|
||||||
|
@ -504,3 +500,7 @@ static void mousekey_debug(void) {
|
||||||
report_mouse_t mousekey_get_report(void) {
|
report_mouse_t mousekey_get_report(void) {
|
||||||
return mouse_report;
|
return mouse_report;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool should_mousekey_report_send(report_mouse_t *mouse_report) {
|
||||||
|
return mouse_report->x || mouse_report->y || mouse_report->v || mouse_report->h;
|
||||||
|
}
|
||||||
|
|
|
@ -174,6 +174,7 @@ 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);
|
report_mouse_t mousekey_get_report(void);
|
||||||
|
bool should_mousekey_report_send(report_mouse_t *mouse_report);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue