aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/Joystick
Commit message (Collapse)AuthorAgeFilesLines
...
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-2/+2
|
* Fix up minor whitespace formatting errors.Dean Camera2010-07-221-1/+1
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-214-10/+26
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-191-59/+38
| | | | 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.
* Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean Camera2010-07-181-1/+1
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-151-0/+1
| | | | apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-151-17/+6
| | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-132-2/+2
| | | | were missing it.
* Add AVRStudio 4 project files to the ClassDriver Device mode demos.Dean Camera2010-07-131-0/+1
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-121-1/+1
|
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-021-0/+1
| | | | | | functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
* Fix Doxygen formatting of parameters for the ↵Dean Camera2010-06-251-5/+5
| | | | CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-231-1/+1
|
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-092-3/+4
| | | | | | 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-087-2965/+2965
| | | | correctly converted to the target system's native end of line style.
* Change over instances of "make" in the makefiles to "$(MAKE)" to allow for ↵Dean Camera2010-05-071-1/+1
| | | | the make tool to be overridden.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-281-2/+2
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-282-0/+2
| | | | be done in the user application once all init code has run.
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-222-7/+7
| | | | | | sub-elements in the Device mode demos, bootloaders and projects. Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-041-1/+1
| | | | | | will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects.
* Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.Dean Camera2010-02-031-1/+2
|
* Fix up project documentation files' overview tables, so that multiple items ↵Dean Camera2010-01-281-2/+4
| | | | occupy multiple lines in the same cell, rather than multiple cells.
* Add Webserver project Doxygen configuration file and overview document.Dean Camera2010-01-251-1/+1
| | | | Fix Doxygen configuration files' input file exclusion filters.
* Update Doxygen configuration files to the latest Doxygen version.Dean Camera2010-01-061-631/+709
|
* Update copyright year to 2010.Dean Camera2009-12-304-8/+8
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-284-28/+28
|
* Fix build and Doxygen errors.Dean Camera2009-11-251-0/+1
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-232-2/+2
| | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
* Corrections, improvements and additions to the incomplete RNDISHost demo.Dean Camera2009-11-131-3/+3
| | | | Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-061-5/+6
| | | | per-endpoint, per-interface level.
* Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where ↵Dean Camera2009-11-041-11/+11
| | | | | | possible to reduce code size and (potentially) allow for centralized status stage timeouts. Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-161-2/+2
|
* Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean Camera2009-10-121-10/+5
| | | | Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-201-1/+1
| | | | | | | | 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.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-091-2/+1
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-061-30/+47
| | | | | | | | compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-301-1/+1
|
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-162-8/+5
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
* Adjust endpoint polling intervals for HID demos, to make them compliant with ↵Dean Camera2009-08-131-1/+1
| | | | the 10ms minimum polling period for Low Speed devices.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-131-1/+1
|
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-052-10/+10
| | | | | | | | 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.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-022-2/+2
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Fix demos based on the device mode HID class driver, as well as the driver ↵Dean Camera2009-07-312-7/+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-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.
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-281-39/+21
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* 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.
* Change Doxygen configuration files to not produce 4096 directories for the ↵Dean Camera2009-07-201-1/+1
| | | | | | documentation files -- the LUFA components do not generate enough documentation files to justify the large performance hit of creating so many directories. Fix missing Doxygen documentation in the Class Driver Mass Storage Device demo.
* Added new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-161-1/+2
| | | | | | USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility). Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
* Added compatibility list to the documentation of each individual demo.Dean Camera2009-07-131-0/+14
| | | | | | Documented FAST_STREAM_TRANSFERS compile time option. Reduced the TCP window size for the RNDIS demos (Class and LowLevel) to make them compatible with the AT90USB64x.