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
|
@ -485,12 +485,6 @@ void clear_keyboard_but_mods(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
bool sending_anykey(void)
|
||||
{
|
||||
return (has_anykey() || host_mouse_in_use() ||
|
||||
host_last_sysytem_report() || host_last_consumer_report());
|
||||
}
|
||||
|
||||
bool is_tap_key(key_t key)
|
||||
{
|
||||
action_t action = layer_switch_get_action(key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue