aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/GenericHID/GenericHID.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrights for 2018.Dean Camera2018-01-041-2/+2
|
* Update copyrights for 2017.Dean Camera2017-04-181-2/+2
|
* Update copyrights to 2016.Dean Camera2016-01-311-2/+2
|
* Update copyrights to 2015 (better late than never).Dean Camera2015-05-171-2/+2
|
* Update copyrights for 2014.Dean Camera2014-01-041-2/+2
|
* Extract interface numbers into enums.László Monda2013-10-061-1/+1
|
* Minor documentation improvements.Dean Camera2013-05-221-2/+2
|
* Add XMEGA support to the class driver demos where possible.Dean Camera2013-05-191-0/+12
|
* Minor documentation improvements.Dean Camera2013-03-181-1/+1
|
* Update copyright year to 2013.Dean Camera2013-01-031-2/+2
|
* Fixed hardware race condition that could cause failed device enumerations ↵Dean Camera2013-01-031-3/+3
| | | | | | | | for AVR8 and UC3 architectures (thanks to Mike Beyhs). Fixed incorrect Minimus board LED definitions (thanks to Joonas Lahtinen). Fixed incorrect LED masks for received data display in the Device GenericHID demos (thanks to Denys Berkovskyy).
* Minor documentation improvements.Dean Camera2012-10-051-1/+1
|
* Use the framework provided GlobalInterruptEnable() function instead of the ↵Dean Camera2012-09-171-1/+1
| | | | AVR8/XMEGA specific sei() macro, for future demo/project portability.
* Reintegrate the FullEPAddresses development branch into trunk.Dean Camera2012-04-141-5/+6
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Minor documentation corrections.Dean Camera2012-02-041-1/+1
|
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-3/+3
| | | | trailing whitespace at the end of each line.
* Fix Class Driver GenericHID demo using the wrong size for the returned reports.Dean Camera2011-09-211-1/+1
|
* Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().Dean Camera2011-08-221-18/+26
| | | | | | | | Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines. Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values. Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-051-1/+1
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-101-2/+3
| | | | | | to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-051-2/+2
| | | | 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.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-11/+12
| | | | tool made by Laszlo Monda
* 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.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-3/+4
| | | | | | use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-4/+10
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-131-1/+1
| | | | were missing it.
* Fix Doxygen formatting of parameters for the ↵Dean Camera2010-06-251-5/+5
| | | | CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.
* 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-171/+171
| | | | correctly converted to the target system's native end of line style.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-281-0/+1
| | | | be done in the user application once all init code has run.
* 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
|
* Fix build and Doxygen errors.Dean Camera2009-11-251-0/+1
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-231-1/+1
| | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
* Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN ↵Dean Camera2009-11-201-2/+2
| | | | when the given data length is zero.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-061-5/+6
| | | | per-endpoint, per-interface level.
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-161-9/+5
| | | | 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-6/+6
| | | | | | | | 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.
* Fixed the ClassDriver GenericHID demo so that it echoes back reports as ↵Dean Camera2009-07-311-3/+16
| | | | indicated in the demo overview.
* Fix demos based on the device mode HID class driver, as well as the driver ↵Dean Camera2009-07-311-3/+12
| | | | 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-2/+1
| | | | driver, to move the burden of managing the Idle period of each instance to the library and not the user application.
* Fix to HID device mode Class driver, so that new reports are compared ↵Dean Camera2009-07-301-2/+0
| | | | 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-5/+0
| | | | (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 const modifiers to device mode class drivers.Dean Camera2009-06-281-10/+10
| | | | | | 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).
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-181-13/+19
| | | | 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.
* Doxygen corrections to fix Doxygen warnings in some demos.Dean Camera2009-06-151-0/+2
|