aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Device/HID.h
Commit message (Collapse)AuthorAgeFilesLines
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-261-1/+1
| | | | fix incorrect and missing section names.
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-051-1/+1
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-241-3/+8
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-21/+22
| | | | tool made by Laszlo Monda
* Fix low level host mode demos not correctly fetching the next endpoint when ↵Dean Camera2010-09-301-0/+4
| | | | | | an invalid interface is discarded. Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-281-2/+2
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-211-5/+10
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-191-1/+1
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-131-6/+6
| | | | were missing it.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-171-20/+20
| | | | Minor tweaks to the library documentation.
* Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class ↵Dean Camera2010-06-081-3/+3
| | | | driver functions.
* Minor documentation cleanups.Dean Camera2010-06-031-1/+1
|
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-291-11/+11
|
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-091-2/+3
| | | | | | host report sending routines. Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-206/+206
| | | | correctly converted to the target system's native end of line style.
* Fixed HID Device Class Driver not allocating a temporary buffer when the ↵Dean Camera2010-04-201-1/+2
| | | | | | host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.
* Add briefs for the library core structures.Dean Camera2010-03-291-1/+5
|
* Add file-level brief documentation.Dean Camera2010-03-291-0/+7
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-111-0/+5
| | | | to manually include private driver header files, instead of the public driver headers.
* Inline USB management functions in the Class drivers which are standardized ↵Dean Camera2010-01-051-14/+15
| | | | but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
* Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed ↵Dean Camera2010-01-041-1/+6
| | | | | | before the required library headers were included, causing a compilation error. Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.Dean Camera2009-12-171-1/+2
| | | | Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-231-3/+4
| | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
* Fix doxygen documentation - doxygen was getting confused on the ↵Dean Camera2009-11-171-2/+4
| | | | variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
* Spell check all source code variables, comments and strings.Dean Camera2009-11-091-3/+3
|
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-061-0/+1
| | | | per-endpoint, per-interface level.
* Add const attribute to class driver APIs.Dean Camera2009-11-031-5/+5
| | | | Add new manual pages detailing the advantages of LUFA over the official Atmel USB AVR stack, and reasons why LUFA should be used over a built-from-scratch USB stack.
* Make HID device class driver ignore the previous HID report comparison ↵Dean Camera2009-10-261-1/+8
| | | | buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.
* Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean Camera2009-10-081-6/+6
| | | | | | demo. Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own.
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-201-2/+2
| | | | | | | | is frozen. Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID. More additions to the unfinished HID Host Class Driver.
* Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function ↵Dean Camera2009-09-171-1/+1
| | | | | | return codes used in comparison to check for success. Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
* Added extra note about missing OUT endpoint configuration to the HID Device ↵Dean Camera2009-08-271-0/+4
| | | | | | mode Class driver. Added pinout information to the AVRISP project.
* More work on the Mass Storage Host mode Class driver.Dean Camera2009-08-261-6/+6
| | | | | | Added ATTR_NON_NULL_PTR_ARG() attributes to the class drivers to improve user code reliability by disallowing explicit NULL pointers as pointer parameters in function calls where the parameter must not be NULL. Disabled building of the Demos/Host/ClassDriver directory until Host Mode Class drivers are complete to prevent build errors in the meantime.
* 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.