aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Device/HID.h
Commit message (Collapse)AuthorAgeFilesLines
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-161-1/+3
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-3/+3
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Fix demos based on the device mode HID class driver, as well as the driver ↵Dean Camera2009-07-311-16/+16
| | | | itself. Changed HID device class driver to require the user to give a buffer and size to hold the previously generated report, for comparison purposes, and altered the prototype of the CALLBACK_HID_Device_CreateHIDReport() function so that reports can be sent to the host even if there are no apparent changes (useful for relative movements in mice, etc.).
* Add new HID_Device_MillisecondElapsed() function to the HID device Class ↵Dean Camera2009-07-301-0/+7
| | | | driver, to move the burden of managing the Idle period of each instance to the library and not the user application.
* Ensure that the previous HID reports in the HID device class driver are kept ↵Dean Camera2009-07-301-1/+3
| | | | per-instance, rather than per-device.
* Fix to HID device mode Class driver, so that new reports are compared ↵Dean Camera2009-07-301-7/+14
| | | | against the old, and updated reports made within the idle period are sent immediately to the host.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-271-2/+1
| | | | (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
* Added module file dependancy information to the USB class drivers.Dean Camera2009-07-141-0/+4
|
* Added const modifiers to device mode class drivers.Dean Camera2009-06-281-14/+14
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Reduce struct name pollution - group typedef struct names by class driver ↵Dean Camera2009-06-261-34/+23
| | | | name where appropriate.
* Clean up RNDIS demo type define names.Dean Camera2009-06-191-1/+2
|
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-181-5/+47
| | | | structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
* Enhanced class drivers to use the same public/private section seperations as ↵Dean Camera2009-06-151-49/+50
| | | | other portions of the library.
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-141-77/+6
| | | | | | Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
* Changed to new device mode Class Driver function name prefixes to make way ↵Dean Camera2009-06-111-5/+6
| | | | for similar host mode Class drivers.
* Deleted Host ClassDriver demos -- not yet started, faster to rebase new ↵Dean Camera2009-06-091-0/+1
| | | | | | ClassDriver demos from the newly schedulerless LowLevel host demos rather than re-convert each demo from the previous scheduler-based implementations. Fixes to MassStorageHost demo to improve compatibility with more USB drives.
* Completed documentation of the HID device class driver.Dean Camera2009-06-081-1/+21
|
* Finished CDC device class driver documentation.Dean Camera2009-06-081-1/+1
|
* Synchronise with the 090605 release.Dean Camera2009-06-051-0/+3
|
* Added multiple Report ID support to the HID class driver. Removed OUT ↵Dean Camera2009-06-051-5/+24
| | | | endpoint support from HID driver (all OUT reports are now processed through control requests) as a seperate endpoint had issues with determining the exact output report length.
* Added Doxygen documentation to the Audio class driver. Added new modules for ↵Dean Camera2009-06-041-0/+16
| | | | each of the new device class drivers to the library documentation.
* Minor documentation page updates.Dean Camera2009-06-041-0/+10
| | | | | | | | Redocumented all device demos, now that they have changed over to the new USB class drivers. Added C linkage to class drivers for C++ support. Added prefixes to most of the class driver constants to prevent name clashes.
* Removed new Start of Frame event from the library; performance suffered far ↵Dean Camera2009-06-021-2/+1
| | | | | | too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events. Fixed MIDI class driver blocking on unread events to the host.
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-011-0/+115
MIDI demo - not documented yet. Removed scheduler and memory allocation libraries. Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated). Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.