summaryrefslogtreecommitdiff
path: root/tinyusb/class/hid_host.c
AgeCommit message (Collapse)Author
2018-03-06move class fileshathach
2018-03-05reame SUBTASK_EXIT to SUBTASK_RETURNhathach
2018-03-02clean up compilerhathach
2015-05-01tusbh_device_ to tuh_device_hathach
2015-05-01simplify host API: tusbh_ to tuh_ for keyboard & mousehathach
2014-04-18move osal_queue_send of osal_none to osal_none.chathach
2014-03-14clean up warning in lpcxpressohathach
remove -Wpacked -Wpadded in gcc
2014-03-13clean up more warningshathach
2014-03-10change IAR TUSB_CFG_ATTR_USBRAM to _Pragma("location=\".ahb_sram1\"") ↵hathach
instead of @ .ahb_sram1 so that we can place it before the variable for a cleaner code change pipe xfer API buffer from void* to uint8_t* change FIFO_DEF to have a separated buffer to be compatible with IAR\ refractor IAR data alignment pragma
2013-10-24change TUSB_CFG_CONTROLLER0/1_MODE to TUSB_CFG_CONTROLLER_0/1_MODE for clearancehathach
adding configuration docs for tinyusb_config.h document HID mouse & keyboard API
2013-10-01- move disconnection handle to enum task --> move tusbh_xxx_unmount is ↵hathach
invoked in non-isr context
2013-09-28clean up hid host (temp let test failed)hathach
2013-09-24add some tests support for msc hosthathach
refractor msch buffer for getting inital scsi like inquiry, read capacity adding support for resovling stall on control pipe
2013-09-21house keeping, clean up warningshathach
2013-09-21house keepinghathach
2013-09-21remove ATTR_WEAK for all necessary driver callbackhathach
fix ceedling tests
2013-09-20start to add msc host, fix dangerous problem with unstable device when ↵hathach
plugged --> 200 ms delay. 50ms delay after each port reset
2013-09-20refine hid host driverhathach
2013-09-19starting to add support for IAR workbenchhathach
2013-07-04no big deal, only rename tusb_std_request_t to tusb_control_request_thathach
2013-07-04change class (hid/cdc) _mounted_isr to _mounted_cbhathach
2013-07-03adding _mounted_isr & _umounted_isr callback for host keyboard & mousehathach
remove TUSB_EVENT_INTERFACE_OPEN & TUSB_EVENT_INTERFACE_CLOSE
2013-07-03replace tusbh_cdc_isr by tusbh_cdc_xfer_isr with extra parameter ashathach
- pipe id - xferred_bytes host_class_driver_t add xferred_bytes parameter void (* const isr) (pipe_handle_t, tusb_event_t); --> void (* const isr) (pipe_handle_t, tusb_event_t, uint32_t); update hid_host & its tests
2013-06-27use SUBTASK_EXIT to restart & exit task without "assert"hathach
2013-06-27add mutex support for osalhathach
add test for mutex in test_osal_none.c implement usbh_control_xfer using mutex to get access to queue xfer on control pipe (while semaphore is used to sync with hcd DMA) failed to issue control xfer: set idle & get report descriptor in hidh_open_subtask (more to work on)
2013-06-27add set idle request for hidh_open_subtaskhathach
add interface number to hidh_interface_info_t refractor hidh_open_subtask to be a true subtask cannot run with set idle code ON because of semaphore misuse
2013-06-26remove app_os_prio.h in os_none configurehathach
remove instance_num in hidh API temporarily pause device stack developement should fix travis-ci build error
2013-06-21add api for hcd: hcd_pipe_is_idlehathach
add api for usbh: tusbh_device_get_mounted_class_flag implement api for custom class - is mounted - read
2013-06-21[host lpc43xx] adding support for host custom classhathach
refractor usbh class driver indexing opt out periodic list code in EHCI (need to refractor/group later) [device lpc176x] rename dcd_endpoint_configure to dcd_pipe_open add usbd_pipe_open to manage pipe
2013-06-03refractor tusb_descriptorshathach
usbd device_class_driver added & tested HID mouse for device (work together with hid keyboard) rename DEVICE_ROM_REG_BASE, DEVICE_ROM_DRIVER_ADDR
2013-05-29fix lpcxpresso1347 board_ledshathach
temp change USBD_API to ROM_API add lpc13xx device support fix romdriver pointer able to init rom driver
2013-05-25rename descriptor type, hid descriptor typehathach
2013-05-14abstract os priority for application taskshathach
2013-05-14rename tusbh_hid_keyboard/mouse_is_supported to ↵hathach
tusbh_hid_keyboard/mouse_is_mounted
2013-05-06house keepinghathach
2013-05-06change format of file header & license spacinghathach
2013-04-26add hid_keycode_to_ascii_tbl for hid classhathach
improve keyboard_app, should display all displayable characters improve the de-bouncing keyboard (still got some issues)
2013-04-09add test & code for TUSB_EVENT_INTERFACE_OPEN for tusbh_hid_keyboard_isr ↵hathach
tusbh_hid_mouse_isr
2013-04-09add tusbh_hid_mouse_isr & tusbh_hid_keyboard_isr callback with xfer_complete ↵hathach
& error event
2013-04-07refractor extract hidh_interface_get_report from keyboard_get_reporthathach
2013-04-07add complete isr for hidh mousehathach
refractor hid_host.c - extract hidh_interface_open from hidh_keyboard_open - extract hidh_interface_close from hidh_keyboard_close -
2013-04-07add test code & implementhathach
- hidh_mouse_open - tusbh_hid_mouse_status - tusbh_hid_mouse_get_report
2013-04-07add test for mouse_openhathach
add hid descriptor for mouse & mouse interface to descriptor_test refractor extract function hidh_interface_status fix error with MACRO HID_REPORT_ITEM with zero data size --> redundant semicolon
2013-04-07remove hcd_port_reset before set address in enumerationhathach
add test & implement tusbh_hid_mouse_is_supported
2013-04-07rename hidh_keyboard_info_t to hidh_interface_info_thathach
rename tusb_bus_event_t to tusb_event_t add test_mouse_init and more stuff for hidh mouse move delay after port reset to only for speed detection prioritize port change interrupt over xfer interrupt - in case of unplugged, current connect change & xfer error both set - xfer error only break to debugger if not because of unplugged fix bug: set dev addr0 state to UNPLUG after close its control pipe in enumeration process
2013-04-07fix compiling error for tests projecthathach
start to add support for host hid mouse
2013-03-27add test for pipe_interrupt_xferhathach
implement keyboard app code - forcefully place keyboard_report in RAM section 3 change used bit in qtd from reserved in buffer[1] to alternate link add code for fake ehci controller runs on period interrupt change signature of tusbh_hid_keyboard_get_report - tusb_keyboard_report_t* to uint8_t* implement period (interrupt) complete isr processing
2013-03-26add code & test for hidh_isr (set status for keyboard)hathach
2013-03-26rename pipe_status_t to tusb_interface_status_thathach
add tusbh_hid_keyboard_status & test code
2013-03-26add code for hidh closehathach
refractor the full configure descriptor parsing in enum task