diff options
Diffstat (limited to 'keyboards/converter/adb_usb/matrix.c')
-rw-r--r-- | keyboards/converter/adb_usb/matrix.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/converter/adb_usb/matrix.c b/keyboards/converter/adb_usb/matrix.c index 9e5399de5..e6a492196 100644 --- a/keyboards/converter/adb_usb/matrix.c +++ b/keyboards/converter/adb_usb/matrix.c | |||
@@ -31,6 +31,10 @@ Ported to QMK by Peter Roe <pete@13bit.me> | |||
31 | #include "led.h" | 31 | #include "led.h" |
32 | #include "timer.h" | 32 | #include "timer.h" |
33 | 33 | ||
34 | #ifndef ADB_MOUSE_MAXACC | ||
35 | # define ADB_MOUSE_MAXACC 8 | ||
36 | #endif | ||
37 | |||
34 | static bool is_iso_layout = false; | 38 | static bool is_iso_layout = false; |
35 | 39 | ||
36 | // matrix state buffer(1:on, 0:off) | 40 | // matrix state buffer(1:on, 0:off) |
@@ -84,6 +88,10 @@ void matrix_init(void) | |||
84 | 88 | ||
85 | static report_mouse_t mouse_report = {}; | 89 | static report_mouse_t mouse_report = {}; |
86 | 90 | ||
91 | void housekeeping_task_kb(void) { | ||
92 | adb_mouse_task(); | ||
93 | } | ||
94 | |||
87 | void adb_mouse_task(void) | 95 | void adb_mouse_task(void) |
88 | { | 96 | { |
89 | uint16_t codes; | 97 | uint16_t codes; |