- fix HID_MOUSEBUTTON right & left

- add mouse app to mount mouse interface
This commit is contained in:
hathach
2013-04-07 19:33:40 +07:00
parent dfe2b94248
commit 4b63a2bc5c
6 changed files with 166 additions and 9 deletions

View File

@@ -26,12 +26,13 @@ int main(void)
{
tusb_task_runner();
keyboard_app_task();
mouse_app_task();
if (current_tick + 10*CFG_TICKS_PER_SECOND < system_ticks)
{
current_tick = system_ticks;
// board_leds(0x01, (current_tick/CFG_TICKS_PER_SECOND)%2); /* Toggle LED once per second */
printf("tinyusb: " __DATE__ "\t" __TIME__ "\n");
printf("tinyusb: " __DATE__ "\t" __TIME__ "\n"); // toggle leds on EA4357 is quite troublesome
}
}