diff options
author | tmk <hasu@tmk-kbd.com> | 2015-04-28 11:27:10 +0900 |
---|---|---|
committer | tmk <hasu@tmk-kbd.com> | 2015-04-28 11:27:10 +0900 |
commit | d9fee5571d7de08e76dff5ce75816faf522240f6 (patch) | |
tree | 47fac278e044a8f574f9c886f528100e79777c1b /tmk_core/common/keyboard.c | |
parent | 55fc97f957555c20c4509e587e8fd2ef1194ab0d (diff) | |
parent | 4d116a04e94cf0d19317d5b44e4fa9f34a3e5594 (diff) | |
download | qmk_firmware-d9fee5571d7de08e76dff5ce75816faf522240f6.tar.gz qmk_firmware-d9fee5571d7de08e76dff5ce75816faf522240f6.zip |
Merge commit '4d116a04e94cf0d19317d5b44e4fa9f34a3e5594'
Diffstat (limited to 'tmk_core/common/keyboard.c')
-rw-r--r-- | tmk_core/common/keyboard.c | 10 |
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(); |