diff options
| author | hathach <[email protected]> | 2019-05-02 13:27:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-05-02 13:27:32 +0700 |
| commit | 3387b9fca55f434867c449d4e2cdd7687721e993 (patch) | |
| tree | 99efcc5d9e59242202ea627677501343c11ac34c /src/class/hid/hid_device.h | |
| parent | 353d415d3fb569c85bcaf5d3658c40e1a3784a68 (diff) | |
use tud_hid_set_report_cb for hid epout
Diffstat (limited to 'src/class/hid/hid_device.h')
| -rw-r--r-- | src/class/hid/hid_device.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/class/hid/hid_device.h b/src/class/hid/hid_device.h index 503b4b430..1120e8e45 100644 --- a/src/class/hid/hid_device.h +++ b/src/class/hid/hid_device.h @@ -73,12 +73,10 @@ bool tud_hid_mouse_report(uint8_t report_id, uint8_t buttons, int8_t x, int8_t y // Return zero will cause the stack to STALL request
uint16_t tud_hid_get_report_cb(uint8_t report_id, hid_report_type_t report_type, uint8_t* buffer, uint16_t reqlen);
-// Invoked when received SET_REPORT control request
+// Invoked when received SET_REPORT control request or
+// received data on OUT endpoint ( Report ID = 0, Type = 0 )
void tud_hid_set_report_cb(uint8_t report_id, hid_report_type_t report_type, uint8_t const* buffer, uint16_t bufsize);
-// Invoked when received data on OUT endpoint
-ATTR_WEAK void tud_hid_out_report_cb(uint8_t const* buffer, uint16_t bufsize);
-
// Invoked when received SET_PROTOCOL request ( mode switch Boot <-> Report )
ATTR_WEAK void tud_hid_boot_mode_cb(uint8_t boot_mode);
|
