diff options
| author | Thomas Weißschuh <thomas@t-8ch.de> | 2021-07-03 09:50:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-03 00:50:47 -0700 |
| commit | b5c361542efa22aefa5e5868ceb678d4fb8b68b3 (patch) | |
| tree | 5a6fe329786a47d7c6ef2da2a617cacd816b7862 /quantum/mousekey.h | |
| parent | 3ab805fc67e95dfb23188bf63c7f5fbb2edcf038 (diff) | |
| download | qmk_firmware-b5c361542efa22aefa5e5868ceb678d4fb8b68b3.tar.gz qmk_firmware-b5c361542efa22aefa5e5868ceb678d4fb8b68b3.zip | |
mousekey: expose current report to users (#13069)
Diffstat (limited to 'quantum/mousekey.h')
| -rw-r--r-- | quantum/mousekey.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/quantum/mousekey.h b/quantum/mousekey.h index 70dc4bb5c..56c91b5f1 100644 --- a/quantum/mousekey.h +++ b/quantum/mousekey.h | |||
| @@ -168,11 +168,12 @@ extern uint8_t mk_time_to_max; | |||
| 168 | extern uint8_t mk_wheel_max_speed; | 168 | extern uint8_t mk_wheel_max_speed; |
| 169 | extern uint8_t mk_wheel_time_to_max; | 169 | extern uint8_t mk_wheel_time_to_max; |
| 170 | 170 | ||
| 171 | void mousekey_task(void); | 171 | void mousekey_task(void); |
| 172 | void mousekey_on(uint8_t code); | 172 | void mousekey_on(uint8_t code); |
| 173 | void mousekey_off(uint8_t code); | 173 | void mousekey_off(uint8_t code); |
| 174 | void mousekey_clear(void); | 174 | void mousekey_clear(void); |
| 175 | void mousekey_send(void); | 175 | void mousekey_send(void); |
| 176 | report_mouse_t mousekey_get_report(void); | ||
| 176 | 177 | ||
| 177 | #ifdef __cplusplus | 178 | #ifdef __cplusplus |
| 178 | } | 179 | } |
