aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/Joystick
Commit message (Collapse)AuthorAgeFilesLines
* Seperate out the device demos and project's configuration descriptor ↵Dean Camera2011-07-011-0/+2
| | | | structure definitions to clearly indicate what descriptors belong to which interface.
* Add new "checksource" target to the library makefiles, for automated source ↵Dean Camera2011-06-201-1/+10
| | | | file existance checking.
* 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.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-211-7/+7
| | | | architecture ports.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-191-3/+7
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-101-1/+2
| | | | | | 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.
* Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean Camera2011-02-061-6/+6
| | | | Add const to all project descriptor definitions for safety.
* Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items ↵Dean Camera2011-01-301-1/+3
| | | | into the standard library Joystick HID report descriptor macro. Add in support for joystick resolution reporting via PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM items.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-301-8/+8
| | | | | | | | | | | | ClassDriver demos to use it. Fix reversed byte ordering of multi-byte HID data. Added support to the HID parser for extended USAGE items that contain the usage page as well as the usage index. Removed the HID_IOF_NON_VOLATILE and HID_IOF_VOLATILE flags from HID INPUT items where the flag is invalid. Changed over HID OUTPUT items to use HID_IOF_NON_VOLATILE. Change over MagStripe project to use HID_DESCRIPTOR_KEYBOARD() for its HID report. Change over MouseHostDevice demo to use HID_DESCRIPTOR_MOUSE() for its HID report.
* Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and ↵Dean Camera2011-01-232-28/+9
| | | | HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports.
* Change over Joystick demo HID report descriptor to use USAGE_MINIMUM and ↵Dean Camera2011-01-231-2/+2
| | | | USAGE_MAXIMUM when describing the joystick buttons, to allow for easy extension of the number of supported buttons.
* Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean Camera2011-01-171-23/+23
| | | | data into the array from the HID macros automagically, by specifying the bit-width of the data, and the data itself as a single integer value of that width.
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-161-27/+26
| | | | | | | | and editing of HID report descriptors. Changed over all project and demo HID report descriptors to use the new HID report item macros. Moved the HIDParser.c source file to the LUFA/Drivers/USB/Class/Common/ directory from the LUFA/Drivers/USB/Class/Host/.
* Update copyright year on all source files.Dean Camera2011-01-014-8/+8
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-261-4/+4
| | | | fix incorrect and missing section names.
* Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean Camera2010-11-101-1/+1
| | | | endpoint descriptors (thanks to MCS Electronics).
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-052-3/+3
| | | | 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-284-4/+4
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-251-6/+6
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-242-2/+0
| | | | | | 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-136-96/+102
| | | | tool made by Laszlo Monda
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-301-1/+1
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-282-7/+7
| | | | | | | | 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.
* Remove dfu-programmer program switches, to ensure maximum compatibility with ↵Dean Camera2010-09-241-2/+2
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-241-3/+3
| | | | | | | | ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target. Makefile whitespace fixes.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-151-2/+2
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Fix typos in the project overview text files.Dean Camera2010-09-091-1/+1
|
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-092-3/+3
| | | | naming.
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-311-4/+4
| | | | USB AVR device "series" comprises of.
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-242-11/+11
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* 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.
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-081-1/+4
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-021-1/+2
| | | | in some situations.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-301-1/+1
| | | | EN-GB spelling dictionary.
* 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.