X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=common%2Fkeyboard.c;h=1e3fb510a44d254d01a3b290ac6042764e785552;hb=363950982a291c3bfa03ac6362061b1d37dc06b0;hp=9a809ff4a153dbfca52f1a248cb9e001e26cfd06;hpb=60096e11c77980ca6b54674c5b68248e8aa15d8d;p=tmk_firmware.git diff --git a/common/keyboard.c b/common/keyboard.c index 9a809ff..1e3fb51 100644 --- a/common/keyboard.c +++ b/common/keyboard.c @@ -36,6 +36,9 @@ along with this program. If not, see . #ifdef PS2_MOUSE_ENABLE # include "ps2_mouse.h" #endif +#ifdef SERIAL_MOUSE_ENABLE +#include "serial_mouse.h" +#endif #ifdef MATRIX_HAS_GHOST @@ -63,6 +66,10 @@ void keyboard_init(void) #ifdef PS2_MOUSE_ENABLE ps2_mouse_init(); #endif +#ifdef SERIAL_MOUSE_ENABLE + serial_mouse_init(); +#endif + #ifdef BOOTMAGIC_ENABLE bootmagic(); @@ -125,6 +132,10 @@ MATRIX_LOOP_END: ps2_mouse_task(); #endif +#ifdef SERIAL_MOUSE_ENABLE + serial_mouse_task(); +#endif + // update LED if (led_status != host_keyboard_leds()) { led_status = host_keyboard_leds();