summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_device.c
AgeCommit message (Collapse)Author
2019-10-012nd attempt to fix #161hathach
2019-09-20Revert "Revert "Also need to just return false in the case that it isn't an ↵Nathan Conrad
interface control event. We shouldn't assert. This normally isn't an"" This reverts commit 2281a514846402af68aa4c97fcd206611c0969a1.
2019-09-20Revert "Also need to just return false in the case that it isn't an ↵Nathan Conrad
interface control event. We shouldn't assert. This normally isn't an" This reverts commit f241ff389f9494836cdc45e621726c0b69b8daed.
2019-09-20Also need to just return false in the case that it isn't an interface ↵Nathan Conrad
control event. We shouldn't assert. This normally isn't an error, either, so I don't want to use TU_VERIFY.
2019-09-20Use cached HID descriptor.Nathan Conrad
2019-09-19Cache pointer to HID descriptor.Nathan Conrad
2019-09-17Implement HID desc request.Nathan Conrad
2019-09-01fix potential bug with mis-align issuehathach
2019-07-16add tud_control_vendor_request_cb()/tud_control_vendor_complete_cb(), expose ↵hathach
usbd control transfer rename usbd_control_transfer/status to tud_control_transfer/status
2019-07-12clean up, rename internal driver control_request_complete to simply ↵hathach
control_complete
2019-05-29added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()hathach
- 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-24should fix and work with #58hathach
- add hid_test_js
2019-05-14update license year to 2019hathach
2019-05-12add tud_hid_descriptor_report_cb()hathach
- remove tud_desc_set.hid_report - remove tud_desc_set_t
2019-05-02use tud_hid_set_report_cb for hid epouthathach
2019-05-02add tud_hid_out_report_cb() for hid epouthathach
2019-05-01rename hid report_buf to epin_bufhathach
add epout_buf and use it for SET_REPORT request buffer
2019-05-01adding optional ep out for hidhathach
refactor usbd_open_edpt_pair
2019-05-01clean uphathach
2019-05-01simplify hid keyboard & mouse report to one API eachhathach
2019-05-01add tud_hid_set_idle_cbhathach
- rename tud_hid_mode_changed_cb to tud_hid_mode_changed_cb - add mouse ac pan descriptor template support
2019-04-25remove CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUPhathach
2019-04-18remove auto descriptor and its option CFG_TUD_DESC_AUTOhathach
2019-04-18wrap up hid device refactorhathach
2019-04-18update tud_hid_keyboard/mouse helperhathach
2019-04-18add tud_hid_mode_changed_cb()hathach
2019-04-18hid updatehathach
2019-04-18refactor hid, rename hid_generic to simply hid_hathach
2019-04-02add tud_ready() to hid_ready()hathach
2019-03-29added Suspend and Resume event for nrf5x porthathach
also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
2019-03-27cleanup, remove the use of _TINY_USB_SOURCE_FILE_hathach
2019-03-23remove idle rate enforcement, should be done in application levelhathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2019-01-29zero init internal class/device datahathach
2018-12-17add dcd_get_microframe()hathach
2018-12-13seperate tusb_task() to tud_task() and tuh_task()hathach
tusb_task() still exists for backward compatible
2018-12-12change usbd xfer_cb return type to boolhathach
2018-12-12change class driver open return type to boolhathach
2018-12-12rename edpt_dir/number/addr to tu_edpt_*hathach
2018-11-26clean up warningshathach
2018-11-23One tweak to make -Wdiscarded-qualifiers happy.Scott Shawcroft
2018-11-23rename tusb_event_t to xfer_result_thathach
2018-11-22rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTIONhathach
2018-11-16nrf5x: refactor device control transfer.hathach
- make control transfer as part of usbd. Class driver must use usbd_control_ API() instead of dcd_ api. - change the signature of class driver's control_request - allow control request complete to stall in staus stage - move control request parser & handling to usbd.
2018-11-08Polish up control split and treat it more like a normal endpoint.Scott Shawcroft
2018-11-07Split out the control endpoint logicScott Shawcroft
2018-11-07Add SAMD21 and SAMD51 support for CircuitPython.Scott Shawcroft
The ProtoThreads style subtasks were removed because it led to extremely unclear control flow. RTOSes can be used if threading is needed. Also added some additional functionality to MSC to support dynamic LUNs and read-only LUNs.
2018-10-23clean up helper funchathach
2018-08-23rename common func to avoid conflicthathach
2018-08-13rename VERIFY to TU_VERIFY to avoid conflict with applicationhathach