aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/keyboard.c')
-rw-r--r--tmk_core/common/keyboard.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c
index f0ead604e..b03b124d7 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -39,6 +39,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
39#ifdef SERIAL_MOUSE_ENABLE 39#ifdef SERIAL_MOUSE_ENABLE
40#include "serial_mouse.h" 40#include "serial_mouse.h"
41#endif 41#endif
42#ifdef ADB_MOUSE_ENABLE
43#include "adb.h"
44#endif
42 45
43 46
44#ifdef MATRIX_HAS_GHOST 47#ifdef MATRIX_HAS_GHOST
@@ -69,6 +72,9 @@ void keyboard_init(void)
69#ifdef SERIAL_MOUSE_ENABLE 72#ifdef SERIAL_MOUSE_ENABLE
70 serial_mouse_init(); 73 serial_mouse_init();
71#endif 74#endif
75#ifdef ADB_MOUSE_ENABLE
76 adb_mouse_init();
77#endif
72 78
73 79
74#ifdef BOOTMAGIC_ENABLE 80#ifdef BOOTMAGIC_ENABLE
@@ -147,6 +153,10 @@ MATRIX_LOOP_END:
147 serial_mouse_task(); 153 serial_mouse_task();
148#endif 154#endif
149 155
156#ifdef ADB_MOUSE_ENABLE
157 adb_mouse_task();
158#endif
159
150 // update LED 160 // update LED
151 if (led_status != host_keyboard_leds()) { 161 if (led_status != host_keyboard_leds()) {
152 led_status = host_keyboard_leds(); 162 led_status = host_keyboard_leds();