diff options
author | tmk <nobody@nowhere> | 2013-11-20 11:19:59 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-11-20 11:32:09 +0900 |
commit | d7f663a1ea4487a6dc5be76085eff7b00bec9704 (patch) | |
tree | 8bbec9b81d8154aebb765b9734a7ce6abc47b832 /common/keyboard.c | |
parent | 755e4d8b00a4f9be0c50c2b005d063b94c528f8c (diff) | |
download | qmk_firmware-d7f663a1ea4487a6dc5be76085eff7b00bec9704.tar.gz |
Fix to build ps2_mouse with both LUFA and PJRC
- change API of ps2_mouse; ps2_mouse_task()
- remove mouse_report from host.c
Diffstat (limited to 'common/keyboard.c')
-rw-r--r-- | common/keyboard.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/keyboard.c b/common/keyboard.c index 63a58b218..2b66f20a0 100644 --- a/common/keyboard.c +++ b/common/keyboard.c @@ -123,9 +123,7 @@ MATRIX_LOOP_END: #endif #ifdef PS2_MOUSE_ENABLE - if (ps2_mouse_read() == 0) { - ps2_mouse_usb_send(); - } + ps2_mouse_task(); #endif // update LED |