summaryrefslogtreecommitdiff
path: root/common/keyboard.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-11-20 11:19:59 +0900
committertmk <nobody@nowhere>2013-11-20 11:32:09 +0900
commitd7f663a1ea4487a6dc5be76085eff7b00bec9704 (patch)
tree8bbec9b81d8154aebb765b9734a7ce6abc47b832 /common/keyboard.c
parent755e4d8b00a4f9be0c50c2b005d063b94c528f8c (diff)
downloadqmk_firmware-d7f663a1ea4487a6dc5be76085eff7b00bec9704.tar.gz
qmk_firmware-d7f663a1ea4487a6dc5be76085eff7b00bec9704.zip
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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/keyboard.c b/common/keyboard.c
index 63a58b2187..2b66f20a01 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