X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Fhost.h;h=fefb8141903da84f036b85cae97c19ec8a97c1e2;hb=12e5a3a13eb86852ad58c131e28ba29c5f09bb2d;hp=918af69e8f41242083912519d9486b16f758572a;hpb=a3d96d3aa96318d339a67de1085e0ae495d57c84;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/common/host.h b/tmk_core/common/host.h index 918af69e..fefb8141 100644 --- a/tmk_core/common/host.h +++ b/tmk_core/common/host.h @@ -32,6 +32,9 @@ extern "C" { extern bool keyboard_nkro; #endif +/* These parameters should be included into host driver also? + * keyboard_protocol: 0:Boot, 1:Report(default) + * keyboard_idle: idle rate in unit of 4ms */ extern uint8_t keyboard_idle; extern uint8_t keyboard_protocol; @@ -47,7 +50,7 @@ void host_mouse_send(report_mouse_t *report); void host_system_send(uint16_t data); void host_consumer_send(uint16_t data); -uint16_t host_last_sysytem_report(void); +uint16_t host_last_system_report(void); uint16_t host_last_consumer_report(void); #ifdef __cplusplus