hathach
036e858543
add tud_control_vendor_request_cb()/tud_control_vendor_complete_cb(), expose usbd control transfer
...
rename usbd_control_transfer/status to tud_control_transfer/status
2019-07-16 18:14:47 +07:00
hathach
cb4e6837e9
clean up, rename internal driver control_request_complete to simply control_complete
2019-07-12 22:03:40 +07:00
hathach
dcfaec9efc
add HID_ASCII_TO_KEYCODE
2019-06-06 18:06:24 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application
2019-06-06 10:39:37 +07:00
hathach
a0307bafda
added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()
...
- improve fifo write/read_n with only one lock
- use usbd_edpt_xfer/usbd_edpt_busy for hid/cdc/msc class driver
- replace cdc read's pending_read_from_host by usbd_edpt_busy()
2019-05-29 16:55:15 +07:00
hathach
5f34c63660
should fix and work with #58
...
- add hid_test_js
2019-05-24 12:33:56 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
6135019230
clean up
2019-05-14 11:46:22 +07:00
hathach
1174949308
change tud_descriptor_string_cb() to be consistent with other descriptor callback
2019-05-12 15:38:15 +07:00
hathach
ba2136486c
add tud_hid_descriptor_report_cb()
...
- remove tud_desc_set.hid_report
- remove tud_desc_set_t
2019-05-12 14:09:35 +07:00
hathach
f9d9eebfe1
support hid generic inout #58
...
- add report descriptor template TUD_HID_REPORT_DESC_GENERIC_INOUT
- add TUD_HID_INOUT_DESCRIPTOR & TUD_HID_INOUT_DESC_LEN
- add hid_generic_inout example
2019-05-02 14:30:49 +07:00
hathach
3387b9fca5
use tud_hid_set_report_cb for hid epout
2019-05-02 13:27:32 +07:00
hathach
353d415d3f
clean up
2019-05-02 13:27:00 +07:00
hathach
1c0ec61aa1
add tud_hid_out_report_cb() for hid epout
2019-05-02 00:08:39 +07:00
hathach
c8b9293d68
rename hid report_buf to epin_buf
...
add epout_buf and use it for SET_REPORT request buffer
2019-05-01 20:45:05 +07:00
hathach
c006f3dbce
adding optional ep out for hid
...
refactor usbd_open_edpt_pair
2019-05-01 19:29:56 +07:00
hathach
90fdae94f8
clean up
2019-05-01 18:21:08 +07:00
hathach
9fa5c8025f
clean up
2019-05-01 17:07:33 +07:00
hathach
84f81f6b21
simplify hid keyboard & mouse report to one API each
2019-05-01 17:06:18 +07:00
hathach
0b6999a28e
add tud_hid_set_idle_cb
...
- rename tud_hid_mode_changed_cb to tud_hid_mode_changed_cb
- add mouse ac pan descriptor template support
2019-05-01 16:53:35 +07:00
hathach
89ace295ba
add TUD_ to HID_REPORT_DESC_* template
2019-04-28 00:43:36 +07:00
hathach
67aa45f75f
remove CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
2019-04-25 21:41:21 +07:00
hathach
ff8fe28c98
move interface descriptor template to usbd.h, update exmaple
2019-04-19 13:16:06 +07:00
hathach
23bcf1cc7a
remove auto descriptor and its option CFG_TUD_DESC_AUTO
2019-04-18 23:59:21 +07:00
hathach
307ba23046
wrap up hid device refactor
2019-04-18 22:31:35 +07:00
hathach
a30461b078
update tud_hid_keyboard/mouse helper
2019-04-18 13:27:06 +07:00
hathach
8d2db4dd70
add tud_hid_mode_changed_cb()
2019-04-18 12:32:19 +07:00
hathach
1ffcadd373
hid update
2019-04-18 11:52:23 +07:00
hathach
cc2fce31e5
refactor hid, rename hid_generic to simply hid_
2019-04-18 00:36:17 +07:00
hathach
4af16efea7
add tud_ready() to hid_ready()
2019-04-02 02:14:39 +07:00
hathach
0bdd4bd550
added Suspend and Resume event for nrf5x port
...
also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
2019-03-29 01:34:53 +07:00
hathach
da452d4ba6
cleanup, remove the use of _TINY_USB_SOURCE_FILE_
2019-03-27 17:48:42 +07:00
hathach
d866999bf0
remove idle rate enforcement, should be done in application level
2019-03-23 21:46:51 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
59c1b4b427
zero init internal class/device data
2019-01-29 19:39:34 +07:00
hathach
257d60fe1a
white spaces
2018-12-21 12:58:53 +07:00
hathach
902697ca07
add dcd_get_microframe()
2018-12-17 12:14:11 +07:00
hathach
2a60427bdc
rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency
2018-12-14 15:30:54 +07:00
hathach
a3713f801d
clean up compiler attribute
2018-12-14 13:08:21 +07:00
hathach
a6b9432600
clean up error enum
2018-12-13 14:57:21 +07:00
hathach
1c49c479ca
seperate tusb_task() to tud_task() and tuh_task()
...
tusb_task() still exists for backward compatible
2018-12-13 14:51:37 +07:00
hathach
c1c501e0c2
change usbd xfer_cb return type to bool
2018-12-12 13:12:06 +07:00
hathach
b6cb4757d2
change class driver open return type to bool
2018-12-12 13:00:59 +07:00
hathach
6d86db3977
rename edpt_dir/number/addr to tu_edpt_*
2018-12-12 11:51:31 +07:00
hathach
67d6d753d6
replace all hcd pipe close by hcd_device_remove
2018-12-12 00:00:33 +07:00
hathach
dbc560658a
more hcd_pipe to hcd_edpt rename
2018-12-11 13:15:05 +07:00
hathach
0d04e6eb96
rename to hcd_edpt_open()
2018-12-11 13:12:21 +07:00
hathach
607658d047
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
2018-12-07 23:38:52 +07:00
hathach
366ab79776
able to build host hid
2018-12-07 14:57:58 +07:00
hathach
064eec5dd8
clean up warnings
2018-11-26 12:29:55 +07:00