X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Fhost.c;h=2e56971bddb6a9abca480f3d7764a0b0585dc136;hb=eb90ed6238426db9367e294abfaefb5de07564f5;hp=0703dba013a05be44d506714b680c76c65816779;hpb=d52d554360d3bf06189bfd4f386fa99348d8a0a8;p=max%2Ftmk_keyboard.git diff --git a/common/host.c b/common/host.c index 0703dba0..2e56971b 100644 --- a/common/host.c +++ b/common/host.c @@ -24,12 +24,9 @@ along with this program. If not, see . #ifdef NKRO_ENABLE -bool keyboard_nkro = false; +bool keyboard_nkro = true; #endif -report_mouse_t mouse_report = {}; - - static host_driver_t *driver; static uint16_t last_system_report = 0; static uint16_t last_consumer_report = 0; @@ -89,11 +86,6 @@ void host_consumer_send(uint16_t report) (*driver->send_consumer)(report); } -uint8_t host_mouse_in_use(void) -{ - return (mouse_report.buttons | mouse_report.x | mouse_report.y | mouse_report.v | mouse_report.h); -} - uint16_t host_last_sysytem_report(void) { return last_system_report;