summaryrefslogtreecommitdiff
path: root/keyboards/converter/adb_usb/matrix.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-10-07 23:14:26 +0100
committerGitHub <noreply@github.com>2021-10-07 23:14:26 +0100
commite0d688d4c8040302fcacb735350c95fe6be4dbde (patch)
tree0518f3ffea7851479c8169ba3bd9fd1d0308fa1d /keyboards/converter/adb_usb/matrix.c
parentc39170b7ef433ee86230caad6263c59bb727ed5a (diff)
Move converter specific tmk_core protocols (#14743)
Diffstat (limited to 'keyboards/converter/adb_usb/matrix.c')
-rw-r--r--keyboards/converter/adb_usb/matrix.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/converter/adb_usb/matrix.c b/keyboards/converter/adb_usb/matrix.c
index 9e5399de5d..e6a4921960 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>
#include "led.h"
#include "timer.h"
+#ifndef ADB_MOUSE_MAXACC
+# define ADB_MOUSE_MAXACC 8
+#endif
+
static bool is_iso_layout = false;
// matrix state buffer(1:on, 0:off)
@@ -84,6 +88,10 @@ void matrix_init(void)
static report_mouse_t mouse_report = {};
+void housekeeping_task_kb(void) {
+ adb_mouse_task();
+}
+
void adb_mouse_task(void)
{
uint16_t codes;