1
0
Fork 0

Fix to build ps2_mouse with both LUFA and PJRC

- change API of ps2_mouse; ps2_mouse_task()
- remove mouse_report from host.c
This commit is contained in:
tmk 2013-11-20 11:19:59 +09:00
parent 755e4d8b00
commit d7f663a1ea
8 changed files with 128 additions and 117 deletions

View file

@ -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