diff options
| author | hathach <[email protected]> | 2012-11-29 15:35:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2012-11-29 15:35:59 +0700 |
| commit | 360b28b44fa2ad7973f06c7f048a66a68e6cb90f (patch) | |
| tree | a80ef4f6ba6282faa2fd13cc18689667f47626e9 /tinyusb/class/hid.h | |
| parent | 382cd30be2e3069a490977e1a492783188a02da0 (diff) | |
add more doxygen docs
start to use TUSB_Error_t
Diffstat (limited to 'tinyusb/class/hid.h')
| -rw-r--r-- | tinyusb/class/hid.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tinyusb/class/hid.h b/tinyusb/class/hid.h index 8ba5eea77..aabf5df8a 100644 --- a/tinyusb/class/hid.h +++ b/tinyusb/class/hid.h @@ -46,11 +46,11 @@ #include "common/common.h" #include "device/dcd.h" -ErrorCode_t usb_hid_init(USBD_HANDLE_T hUsb, USB_INTERFACE_DESCRIPTOR const *const pIntfDesc, uint8_t const * const pHIDReportDesc, uint32_t ReportDescLength, uint32_t* mem_base, uint32_t* mem_size); -ErrorCode_t usb_hid_configured(USBD_HANDLE_T hUsb); +TUSB_Error_t usb_hid_init(USBD_HANDLE_T hUsb, USB_INTERFACE_DESCRIPTOR const *const pIntfDesc, uint8_t const * const pHIDReportDesc, uint32_t ReportDescLength, uint32_t* mem_base, uint32_t* mem_size) ATTR_NON_NULL; +TUSB_Error_t usb_hid_configured(USBD_HANDLE_T hUsb); -ErrorCode_t usb_hid_keyboard_sendKeys(uint8_t modifier, uint8_t keycodes[], uint8_t numkey); -ErrorCode_t usb_hid_mouse_send(uint8_t buttons, int8_t x, int8_t y); +TUSB_Error_t usb_hid_keyboard_sendKeys(uint8_t modifier, uint8_t keycodes[], uint8_t numkey) ATTR_NON_NULL; +TUSB_Error_t usb_hid_mouse_send(uint8_t buttons, int8_t x, int8_t y); /** \brief Standard HID Boot Protocol Mouse Report. * |
