summaryrefslogtreecommitdiff
path: root/tinyusb/class/hid_device.c
AgeCommit message (Collapse)Author
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-12-09add keyboard led maskhathach
make usbd control request to subtask add get/set report via control pipe to hidd enforce soft DMA to control pipe for lpc11u (lpc17xx not yet) temp add led_blinking_set_interval to change led blinking interval refractor dcd_pipe_control_xfer to have interrupt on complete option add get/set report support of moused_app and keyboardd_app, keyboard LED will make LED blink faster
2013-12-02refractor hid device driverhathach
2013-12-01change class_ixr to class_cbhathach
use IAD whenever enable CDC to make sure windows driver can detect change keyboard, mouse send report to int_on_complete = true
2013-11-21add class mounted callback for hid mouse/keyboard & refractor mouse/keyboard apphathach
2013-11-21refractor usbd-dcd callback, add bus event isrhathach
2013-11-15separate data & status from dcd_pipe_control_xferhathach
2013-11-14complete double buffering for queueing xfer for lpc11u/13u requried by msc ↵hathach
device
2013-11-13fix potential issue with stall endpointshathach
NOTE: cannot able to STALL control OUT endpoints --> unsupported with data out request may got to an issue. clean up configure, add max string descriptor configure as windows sometimes ask for string @ index 238 !!!
2013-11-13able to build and run cdc device demo on lpc11uxxhathach
2013-11-11technically, mouse + keyboard device demo also work on lpc13uxxhathach
2013-11-11adding support for lpc13uxxhathach
2013-11-06added hid device hidd_isr callbackhathach
refractor keyboard dev demo app
2013-11-01implement msc device classhathach
usbd auto stall control for not supported return from class control request usbd implement xfer isr callback mechanism DCD - implement dcd multiple qtd support - dcd dcd_pipe_stall - implement dcd_pipe_queue_xfer - xfer_complete_isr - flush control endpoint if received new setup while previous transfer is not complete change msc_cmd_block_wrapper_t flags field to dir force full speed for easy testing NOTEs: somehow unable to get endpoint IN interrupt with ioc
2013-10-30refractor hid devicehathach
add check dcd_pipe_open if endpoint is already used refractor usbd : parse and auto open class driver
2013-10-30fix dcd_data declared with TUSB_CFG_ATTR_USBRAMhathach
fix lpc43xx UM: non-control unused endpoint type should be set to different than control in ENDPTCTRL add hid mouse device fix mouse descriptor with vertical wheel support
2013-10-29able to enumerate mouse + keyboard (missing timing at set configured though)hathach
2013-10-29change device driver init to open (when configured)hathach
fix HID_REQUEST_CONTROL_SET_REPORT handle
2013-10-29temporarily implementation of dcd_pipe_is_busyhathach
2013-10-29able to fully enumerated with keyboardhathach
2013-10-29implementing sw device stackhathach
2013-10-27make device keyboard buildable & runnable with ea4357hathach
2013-10-25more doxygen workhathach
rename tusb_mouse_report_t (keyboard) to hid_mouse_report_t (keyboard)
2013-07-04no big deal, only rename tusb_std_request_t to tusb_control_request_thathach
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-14add dcd_pipe_control_readhathach
2013-06-14implement hidd_control_request including std & class specific to interface ↵hathach
number. refractor usbd_setup_received
2013-06-12add coreid to hidd_inithathach
temporarily implement hidd_init using dcd from lpc17xx add more test for dcd lp176x implement dcd_endpoint_configure
2013-06-12clean uphathach
2013-06-04re-create ngx4330.hhathach
remove some rom driver dependency on upper layer introduce CAP_DEVICE_ROMDRIVER to overwrite TUSB_CFG_DEVICE_USE_ROM_DRIVER within the lib add support for lpc175x_6x - able to build and blink led on lpcxpresso1769 with device (without any class enabled)
2013-06-03add TUSB_CFG_PROUDCT_ID checkhathach
move USB_MAX_EP_NUM to device dependency - lpc43 --> 6 - lpc11/13 --> 5
2013-06-03refractor device mouse main.c & tusbd_hid_mouse_send_reporthathach
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-06-01rename romdriver handlehathach
forming API for USBD-CLASS driver (abstract away from rom driver) separate buffer of hid class from buffer of core driver
2013-05-31refractor change tusbd_hid_keyboard_send_report APIhathach
2013-05-31change at86rf to 1ghznodehathach
rom device runs ok with lpc11uxx
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-28rename NGX to ngxhathach
add a bunch of stub header for dcd (175x_6x, 13xx, 18xx_43xx) add dcd_nxp_romdriver for handling usb rom driver add BIT_TEST_ in binary.h remove mw_usbd_hid.h include due to lexical conflict