aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Common/HID.h
Commit message (Collapse)AuthorAgeFilesLines
* Added Class, ClassDevice, ClassHost and ClassCommon to the internal class ↵Dean Camera2011-11-181-656/+0
| | | | driver source filenames to prevent ambiguities.
* Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver ↵Dean Camera2011-11-161-8/+8
| | | | (thanks to Laszlo Monda).
* Add multiple axis support to the HID joystick report in the ↵Dean Camera2011-08-231-20/+22
| | | | HID_DESCRIPTOR_JOYSTICK() macro.
* More endianness porting of the LUFA device mode class drivers.Dean Camera2011-07-111-0/+4
| | | | | | Add endianness information to the class driver and core structure definitions. Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
* Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean Camera2011-06-201-0/+10
| | | | | | disabled, and a USE_*_DESCRIPTORS compile time option was not enabled on the AVR8s. Add C++ compatibility to some header files currently missing extern "C" linkage.
* Spell check library source code files.Dean Camera2011-06-011-3/+3
|
* Fix corner case in the HID report descriptor Mouse/Joystick tempates at the ↵Dean Camera2011-03-231-2/+2
| | | | 8/16 bit boundary.
* Add structure padding to the appropriate descriptor structures to maintain ↵Dean Camera2011-03-111-4/+4
| | | | | | correct alignments on larger architectures. Fix EVK1101 swapped joystick Right/Down masks.
* Start update of documentation to support possible multiple architectures in ↵Dean Camera2011-02-201-2/+0
| | | | the future - alter \file documentation to automatically copy in the module documentation where possible.
* Initial restructuring of the core USB driver module to support multiple ↵Dean Camera2011-02-191-1/+1
| | | | architectures in the future.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-191-1/+1
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-301-17/+17
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items ↵Dean Camera2011-01-301-5/+11
| | | | 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-79/+108
| | | | | | | | | | | | 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 KeyboardMouseMultiReport Device ClassDriver demo.Dean Camera2011-01-261-4/+4
| | | | | | 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.
* Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and ↵Dean Camera2011-01-231-0/+153
| | | | HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports.
* Fixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in ↵Dean Camera2011-01-171-2/+3
| | | | | | the HID class driver (thanks to Joby Taffey). Add in newHID_KEYBOARD_SC_POWER keyboard scancode constant.
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-161-0/+1
| | | | | | | | 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/.
* Minor documentation improvements.Dean Camera2011-01-081-1/+1
|
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-261-1/+1
| | | | fix incorrect and missing section names.
* Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID ↵Dean Camera2010-12-131-2/+3
| | | | | | class driver (thanks to Opendous Inc.). Add extra comments to the ISPTarget.c source file in the AVRISP-MKII clone project.
* Minor documentation improvements.Dean Camera2010-11-031-8/+8
|
* Added standard keyboard HID report scancode defines (thanks to László Monda).Dean Camera2010-10-281-13/+232
|
* Move RNDISConstants.h into the RNDIS class driver common definition header.Dean Camera2010-10-281-1/+7
| | | | Add logical grouping of related #define values for better Doxygen documentation.
* 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.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-251-17/+25
| | | | | | | | 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-241-4/+4
| | | | | | 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-19/+20
| | | | tool made by Laszlo Monda
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-281-45/+41
| | | | | | | | 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.
* Whitespace corrections.Dean Camera2010-09-091-4/+4
|
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-091-8/+34
| | | | naming.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-171-20/+20
| | | | Minor tweaks to the library documentation.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-195/+195
| | | | correctly converted to the target system's native end of line style.
* Add briefs for the library core structures.Dean Camera2010-03-291-3/+13
|
* 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.
* Added Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and ↵Dean Camera2010-02-071-0/+12
| | | | demos.
* Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class ↵Dean Camera2010-02-071-12/+38
| | | | driver and Keyboard demos.
* 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
|
* Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt ↵Dean Camera2009-11-231-3/+3
| | | | data in the HID Host Parser.
* Make RNDISHost demo validate the set Packet Filter to ensure that it is ↵Dean Camera2009-11-171-5/+5
| | | | | | being sent correctly. Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
* Fixed HID host Class driver report send/receive report broken when issued ↵Dean Camera2009-11-091-0/+8
| | | | | | | | through the control pipe. Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed. Remove the HID device parser from the boot protocol Keyboard/Mouse demos.
* Oops - Keyboard boot report structure should be an array of 6 keycodes.Dean Camera2009-09-201-1/+1
|
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-201-8/+39
| | | | | | | | 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.
* Added new "Common" section to the class drivers, to hold all ↵Dean Camera2009-08-271-0/+6
| | | | | | mode-independant definitions for clarity. Moved SCSI command/sense constants into the Mass Storage Class driver, instead of the user-code.
* Reduce struct name pollution - group typedef struct names by class driver ↵Dean Camera2009-06-261-1/+1
| | | | name where appropriate.
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-181-28/+6
| | | | 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.
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-141-0/+112
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.