aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/MouseHost/MouseHost.c
Commit message (Collapse)AuthorAgeFilesLines
* Finish initial draft of the Host Mode HID Class driver.Dean Camera2009-09-211-6/+2
| | | | Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
* Add KeyboardHost HID Host Class driver demo to the library.Dean Camera2009-09-201-3/+0
|
* Finish Class Driver MouseHost demo. Update HID Host Class driver; boot ↵Dean Camera2009-09-201-6/+8
| | | | protocol now works, still need to finish and test report protocol mode.
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-201-2/+33
| | | | | | | | 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 support for the officially recommended layout of the external ↵Dean Camera2009-09-171-6/+1
| | | | | | peripherals connected to the BUMBLEB board. Added flag to the HID Host Class driver to indicate the currently selected reporting protocol.
* Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function ↵Dean Camera2009-09-171-0/+8
| | | | | | return codes used in comparison to check for success. Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-311-3/+2
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Add new functions to the HID host class driver, refine HID interface ↵Dean Camera2009-08-111-1/+0
| | | | | | protocol matching. Remove stray state variable from the CDC host class driver.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-111-1/+1
| | | | | | | | | | a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
* Fix issue in CDC device class driver where received data the size of the ↵Dean Camera2009-08-111-0/+5
| | | | | | | | data endpoint could lock up the driver. Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-061-6/+6
| | | | | | incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-5/+5
| | | | | | | | 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-021-3/+2
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* 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.
* Collapse configuration descriptor size retrieval and size testing into a ↵Dean Camera2009-07-271-10/+3
| | | | single if statement within the new host mode class driver demos for clarity.
* Change Host mode class driver Pipe configuration routines -- better to let ↵Dean Camera2009-07-271-4/+24
| | | | the application fetch the configuration descriptors once, and then pass them to each class driver in turn.
* Add new MouseHost Class Driver demo, unfinished, to allow for better testing ↵Dean Camera2009-07-271-0/+174
| | | | of the new prototype Host Mode Class Driver framework. Flesh out start of a HID class Host mode class driver.
* Optimize vendor/product description string display code in MassStorageHost.Dean Camera2009-06-261-283/+0
| | | | | | | | Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
* Copy over schedulerless host demos to ClassDrivers directory, for later ↵Dean Camera2009-06-091-0/+283
| | | | modification to new Host mode USB class drivers.
* Deleted Host ClassDriver demos -- not yet started, faster to rebase new ↵Dean Camera2009-06-091-331/+0
| | | | | | ClassDriver demos from the newly schedulerless LowLevel host demos rather than re-convert each demo from the previous scheduler-based implementations. Fixes to MassStorageHost demo to improve compatibility with more USB drives.
* Copy existing Host mode demos to new ClassDriver and LowLevel subfolders.Dean Camera2009-06-051-0/+331