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

@ -32,9 +32,6 @@ extern "C" {
extern bool keyboard_nkro;
#endif
/* report */
extern report_mouse_t mouse_report;
/* host driver */
void host_set_driver(host_driver_t *driver);
@ -47,9 +44,6 @@ void host_mouse_send(report_mouse_t *report);
void host_system_send(uint16_t data);
void host_consumer_send(uint16_t data);
/* mouse report utils */
uint8_t host_mouse_in_use(void);
uint16_t host_last_sysytem_report(void);
uint16_t host_last_consumer_report(void);