diff options
| author | Joel Challis <git@zvecr.com> | 2021-10-07 23:14:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-07 23:14:26 +0100 |
| commit | e0d688d4c8040302fcacb735350c95fe6be4dbde (patch) | |
| tree | 0518f3ffea7851479c8169ba3bd9fd1d0308fa1d /keyboards/converter/adb_usb/matrix.c | |
| parent | c39170b7ef433ee86230caad6263c59bb727ed5a (diff) | |
| download | qmk_firmware-e0d688d4c8040302fcacb735350c95fe6be4dbde.tar.gz qmk_firmware-e0d688d4c8040302fcacb735350c95fe6be4dbde.zip | |
Move converter specific tmk_core protocols (#14743)
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; |
