aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/LowLevel/MouseHost
AgeCommit message (Collapse)Author
2010-07-30More spell checking of all source files -- correct missed errors, switch to ↵Dean
EN-GB spelling dictionary. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1426 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-29Spell check all source files once again to find any typos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1420 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-07-19Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1394 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-18Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean
Extensions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1393 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-15Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1392 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-15Removed the automated checking of event names in the demo, project and ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1391 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-13Add AVRStudio 4 project files to the LowLevel Host mode demos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1380 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-12Add missing clean_doxygen phony targets to the project makefiles.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1374 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-02Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1358 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03More documentation fixes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1313 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03Minor documentation cleanups.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1312 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-23Remove obsolete entry from the Doxygen configuration files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1274 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-05-07Change over instances of "make" in the makefiles to "$(MAKE)" to allow for ↵Dean
the make tool to be overridden. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1247 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-28Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean
LowLevel directory as it is hardware-dependent. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1221 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-28USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean
be done in the user application once all init code has run. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1219 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-01More improvements to the incomplete BluetoothHost demo - add Disconnection ↵Dean
Event processing. Remove unused macro in the host mode demos for the maximum Configuration Descriptor size. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1192 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-04New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1110 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1105 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-28Fix up project documentation files' overview tables, so that multiple items ↵Dean
occupy multiple lines in the same cell, rather than multiple cells. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1075 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-25Add Webserver project Doxygen configuration file and overview document.Dean
Fix Doxygen configuration files' input file exclusion filters. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1065 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-06Update Doxygen configuration files to the latest Doxygen version.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1039 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-12-09Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean
(up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@957 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-13Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean
to USB_Host_GetDeviceConfigDescriptor(). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@896 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-08Remove dependancies from the LowLevel demos to the ClassDriver demos, since ↵Dean
the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@886 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-07Make Low Level host demos use void pointers for the configuration ↵Dean
descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines. Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@885 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-04Add support for Mouse Scrollwheel to the MouseHostWithParser demos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@877 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-04Added new JoystickHostWithParser demos to the library.Dean
Add some missing documentation to some of the library demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@876 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-16Fix invalid Event name rule in demo/project makefiles.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@867 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-12Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@865 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-08Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean
demo. Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@863 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-08Application documentation/comment cleanup.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@862 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-08Add new MIDIHost LowLevel demo application.Dean
Make unfinished device mode applications use the VID/PID reserved for LUFA development devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@861 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-09Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@820 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-07Add link to third-party signed version of the official FLIP DFU driver for ↵Dean
64-bit Windows OSes to the DFU bootloader readme file. Add HTML anchor links to URLs in the documentation to ensure that they are rendered correctly in the generated documentation. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@816 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-06Add in new invalid event hook check targets to project makefiles to produce ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@812 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-31Oops - with new changes to the way the device Configuration Descriptor is ↵Dean
retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@798 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-31Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean
function so that it now performs size checks and data validations internally, to simplify user code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@797 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-30Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@792 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-06Make Endpoint control transfers more reliable; early-abort when an ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@725 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Make Control Endpoint stream transfers more reliable by adding in early ↵Dean
aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes. Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed. Fix incorrect model compatibility information in the Host LowLevel demo overview text files. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@722 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Renamed all library events to properly seperate out Device and Host mode ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@718 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-28Change project makefiles so that the current target settings and not just ↵Dean
the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@694 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-21Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean
USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@676 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-20Change Doxygen configuration files to not produce 4096 directories for the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@668 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-19Don't send terminal RESET codes via serial - just set the foreground colour ↵Dean
and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@658 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-19Use sane ANSI terminal escape codes for the Host mode demos, so that they do ↵Dean
not cause eye-searing, unreadable text on terminals which parse the escape codes properly. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@657 d5102386-fcda-11dd-9fdb-3debd5008f28