hathach
e6a44b3fe9
add test & code for TUSB_EVENT_INTERFACE_OPEN for tusbh_hid_keyboard_isr tusbh_hid_mouse_isr
2013-04-09 13:28:07 +07:00
hathach
a6cf4f228e
add tusbh_hid_mouse_isr & tusbh_hid_keyboard_isr callback with xfer_complete & error event
2013-04-09 03:13:27 +07:00
hathach
3d8a4ef8c8
remove hcd_port_reset before set address in enumeration
...
add test & implement tusbh_hid_mouse_is_supported
2013-04-07 14:44:53 +07:00
hathach
27f860db9f
rename hidh_keyboard_info_t to hidh_interface_info_t
...
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-07 05:09:18 +07:00
hathach
b0ff7a7e23
add code & test for hidh_isr (set status for keyboard)
2013-03-26 17:04:55 +07:00
hathach
ac905a8d09
rename pipe_status_t to tusb_interface_status_t
...
add tusbh_hid_keyboard_status & test code
2013-03-26 16:39:25 +07:00
hathach
205a21ff04
add code for hidh close
...
refractor the full configure descriptor parsing in enum task
2013-03-26 13:45:14 +07:00
hathach
03d045ecde
- put ATTR_UNUSED to hardfault handler variables to discard compiler warning
...
- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t*
2013-03-26 12:14:04 +07:00
hathach
54acee1fc8
start merge hidh_keyboard back to hidh
2013-03-26 11:41:41 +07:00
hathach
086a8e4a2d
add flag_supported_class to usbh_devices
...
remove all ATTR_WEAK in init,open,isr,close driver functions of USBH-CLASS API
- prefer testing
2013-03-26 02:02:54 +07:00
hathach
ff03b452d9
remove multiple instances per device for hidh keyboard (no needed)
...
- API retain though
2013-03-25 22:06:00 +07:00
hathach
a2031e6218
refractor hidh_keyboard_open
2013-03-25 20:57:27 +07:00
hathach
2622cc487b
add more test and complete keyboard open
2013-03-25 17:57:33 +07:00
hathach
d0a73f4b0d
add several helper function
...
add test & code for hidh_keyboard_open_subtask
- skip parsing HID descriptor for keyboard
2013-03-25 17:39:22 +07:00
hathach
c026a9f2e0
remove obsolete TUSB_CFG_HOST_HID_KEYBOARD_ENDPOINT_SIZE
...
temporarily ignore test for hid_host.c due to ceedling linking issue with weak symbol
implement hidh_open_subtask driver to subclass open
rename hidh_keyboard_install to hidh_keyboard_open_subtask
2013-03-25 16:02:24 +07:00
hathach
ddeec330fa
separate hidh_keyboard from hid_host
...
move test hid related to its own folder
2013-03-25 13:08:40 +07:00