add tusbh_hid_mouse_isr & tusbh_hid_keyboard_isr callback with xfer_complete & error event

This commit is contained in:
hathach
2013-04-09 03:13:27 +07:00
parent 11dff6f978
commit a6cf4f228e
8 changed files with 102 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
* tusb_callback.h
* hidh_callback.h
*
* Created on: Feb 5, 2013
* Author: hathach
@@ -63,9 +63,6 @@ uint8_t tusbh_device_attached_cb (tusb_descriptor_device_t const *p_desc_de
void tusbh_device_mount_succeed_cb (uint8_t dev_addr) ATTR_WEAK;
void tusbh_device_mount_failed_cb(tusb_error_t error, tusb_descriptor_device_t const *p_desc_device) ATTR_WEAK;
//------------- hidh -------------//
void tusbh_hid_keyboard_isr(uint8_t dev_addr, tusb_event_t event);
#ifdef __cplusplus
}
#endif