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:
parent
755e4d8b00
commit
d7f663a1ea
8 changed files with 128 additions and 117 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue