Commit Graph

95 Commits

Author SHA1 Message Date
hathach a2b7b9ddb9 fix hid warning, move report descriptor template to hid.h 2018-07-31 14:59:39 +07:00
hathach d1a9d52c05 rename to prevent confusion 2018-07-31 14:42:03 +07:00
hathach cc143cccf4 move default option 2018-07-31 14:27:48 +07:00
hathach 191b73b58c tud_hid_generic_get_report_cb and tud_hid_generic_set_report_cb are mandantory 2018-07-31 13:45:31 +07:00
hathach 1a0ffcee25 add tud_hid_generic_report() 2018-07-31 13:31:03 +07:00
hathach 8eeee22ffc enhance device hid driver
seperate inteface and report
2018-07-30 17:01:20 +07:00
hathach 2910b8d77a clean up 2018-07-30 15:49:16 +07:00
hathach 683bb574e7 hid device enhance 2018-07-29 14:03:48 +07:00
hathach 8b17c54609 fix hid generic various error 2018-07-28 22:42:44 +07:00
hathach c729db2294 beter hid report 2018-07-28 18:14:30 +07:00
hathach 6034553be7 adding hid_generic support 2018-07-28 13:50:46 +07:00
hathach 9f61493020 change HID config, move HID boot config to part of auto descriptor only 2018-07-28 12:38:45 +07:00
hathach 456506045f seperate CFG_TUD_HID_BOOT_PROTOCOL to CFG_TUD_HID_KEYBOARD_BOOT & CFG_TUD_HID_MOUSE_BOOT 2018-07-27 21:48:15 +07:00
hathach cf6c534c19 add usb msc callback description 2018-07-27 17:20:15 +07:00
hathach 5dd02cbdd3 house keeping 2018-07-27 16:59:57 +07:00
hathach 72b600c393 update device msc callback 2018-07-26 22:41:46 +07:00
hathach e362f5fd64 rename some scsi command struct, add SCSI_CMD_MODE_SENSE_6 to built-in support command 2018-07-26 16:57:30 +07:00
hathach 86c445cd71 move nrf_drv_usbd_errata to portable folder 2018-07-26 16:12:09 +07:00
hathach faf88d00c2 clean up 2018-07-26 16:01:14 +07:00
hathach f5b2912372 add tud_msc_set_sense(), update msc device to reponse with default sense (illegal request) when there is issue with scsi command 2018-07-26 15:59:13 +07:00
hathach 602315cd57 fix hid keyboard idle rate 2018-07-26 11:27:34 +07:00
hathach 8694285ad2 add SCSI_CMD_REQUEST_SENSE into device msc built-in command 2018-07-25 23:56:06 +07:00
hathach 226a4f8816 clean up device msc 2018-07-25 22:51:43 +07:00
hathach 93db46292a update msc example 2018-07-25 22:35:02 +07:00
hathach 8fc1d151fc correct msc stall behavior 2018-07-25 22:24:58 +07:00
hathach be7b0caf2d enhance device msc response in case of STALL response 2018-07-25 22:21:14 +07:00
hathach 544f9c1315 add dcd_edpt_stalled() API
- implement control endpoint get status, endpoint set feature
2018-07-25 21:21:33 +07:00
hathach 9365794623 clean up device msc API 2018-07-25 20:34:56 +07:00
hathach d2ab4db25e add scsi start stop unit struct, improve device msc, correctly stall unsupported scsi command 2018-07-25 16:56:57 +07:00
hathach 1982886f87 add control set boot protocol support and keyboard idle rate
- tud_hid_keyboard_is_boot_protocol()
- tud_hid_mouse_is_boot_protocol()
2018-07-25 15:58:52 +07:00
hathach c3b082ab20 add tusb_usbser.inf for windows 2018-07-25 14:07:27 +07:00
hathach 2729937e87 add tud_msc_ready() 2018-07-25 12:26:08 +07:00
hathach 71934228d2 tested boot mouse working 2018-07-25 00:16:09 +07:00
hathach 67e52af936 fix boot mouse descriptor issue 2018-07-24 22:37:44 +07:00
hathach a6fede4962 improve tud_hid_mouse API() 2018-07-24 20:51:50 +07:00
hathach b370283174 rename tud_hid_mouse_busy to tud_hid_mouse_ready 2018-07-24 20:41:06 +07:00
hathach 17369cfda0 change tud_hid_keyboard_busy() to tud_hid_keyboard_ready() for positive meaning 2018-07-24 18:18:02 +07:00
hathach bd2313aa8b house keeping 2018-07-24 18:17:09 +07:00
hathach 255f832904 rename device mouse API 2018-07-24 16:55:30 +07:00
hathach 3dc1d847b8 rename device keyboard api 2018-07-24 16:52:38 +07:00
hathach 3400dfdf4e nrf52840 boot mouse does not work, need more work 2018-07-24 00:45:07 +07:00
hathach 5f6cd49031 clean up include 2018-07-23 23:41:14 +07:00
hathach 51903a60c5 rename timeout_ API to tu_timeout API 2018-07-23 22:36:29 +07:00
hathach 361928f429 rename timeout_timer.h to tusb_timeout.h 2018-07-23 22:32:21 +07:00
hathach 176607dbe1 rename tud_hid_mouse_is_busy to tud_hid_mouse_busy 2018-07-23 22:30:24 +07:00
hathach 3e209f9c20 enhance device hid
- add CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
- add tud_hid_keyboard_send_keycode(), tud_hid_keyboard_send_char(),
tud_hid_keyboard_send_string()
- add timeout_blocking_wait()
2018-07-23 17:46:07 +07:00
hathach 262be103e0 add descriptor string count for tud_desc_set_t 2018-07-23 16:12:14 +07:00
hathach 2bff2a7d97 fix descriptor minor issue 2018-07-23 16:01:02 +07:00
hathach 4342325ee1 reworking device hid class driver 2018-07-23 15:25:45 +07:00
hathach 141ac25e3b also added wanted char to fifo 2018-07-20 15:47:28 +07:00