aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
AgeCommit message (Collapse)Author
2012-05-06Increased endpoint polling interval for all demos and projects to 5ms, as ↵Dean
1ms was causing some enumeration issues on some machines (thanks to Riku Salminen). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2183 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-04-14Reintegrate the FullEPAddresses development branch into trunk.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2155 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-01-02USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as ↵Dean
this was misnamed (thanks to NXP Semiconductors). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2009 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-19Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean
ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1895 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-06Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean
Add const to all project descriptor definitions for safety. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1655 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-26Added new KeyboardMouseMultiReport Device ClassDriver demo.Dean
Fixed ReportID not being removed from the feature/out report data array in the HID class driver when Report IDs are used. Added new MAX() and MIN() convenience macros. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1643 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-23Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and ↵Dean
HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1642 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-17Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1638 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-16New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean
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/. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1635 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-10Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean
endpoint descriptors (thanks to MCS Electronics). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1576 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-25Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1538 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-30Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1502 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-28Move out many of the common class driver constants into grouped enums, to ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1497 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-09Added class specific descriptor type defines with standard USB-IF element ↵Dean
naming. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1468 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-24Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean
so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1452 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Update all demos, projects and bootloaders to indent all function ↵Dean
parameters, one per line, for better readability. Add missing const qualifiers to the demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1400 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-06Fix incorrect copyright attribution on the class-driver keyboard demos due ↵Dean
to header copy-pasting. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1318 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-03-22Standardized the naming scheme given to configuration descriptor ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1172 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-30Update copyright year to 2010.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1032 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-28Fix MIT license language to make its intent clearer.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1019 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-20Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@828 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-13Adjust endpoint polling intervals for HID demos, to make them compliant with ↵Dean
the 10ms minimum polling period for Low Speed devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@739 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-13Added explicit attribute masks to the device mode demos' descriptors.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@738 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-02Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean
existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@712 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-26Reduce struct name pollution - group typedef struct names by class driver ↵Dean
name where appropriate. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@635 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-05Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean
re-add old low level demos to a LowLevel subdirectory. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@572 d5102386-fcda-11dd-9fdb-3debd5008f28