aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/Mouse/Mouse.c
AgeCommit message (Collapse)Author
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-02-04Minor documentation corrections.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2023 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-20Oops - Mouse ClassDriver multi-arch demo changes were applied to trunk, ↵Dean
rather than the correct branch. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1823 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-20Update Mouse demo to support the UC3 devices in the MultiArchDemos branch.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1822 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-10Add static keyword to all project globals whose scope should be restricted ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1661 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-05Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean
EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1556 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-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-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-08-09Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1438 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-13Added const attributes to some of the class driver function parameters that ↵Dean
were missing it. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1384 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-25Fix Doxygen formatting of parameters for the ↵Dean
CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1352 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-09Add new ReportType parameter to the HID class driver device callback and ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1249 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-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-02-16Make sure the button report set masks use OR in all circumstances, to ↵Dean
prevent user confusion. While the first set of the buttons report item can be a direct assignment, it is not immediately clear to new developers why this is the case. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1132 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-11-25Fix build and Doxygen errors.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@919 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-23Added new ReportType parameter to the HID Device Class driver ↵Dean
CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@911 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-13Corrections, improvements and additions to the incomplete RNDISHost demo.Dean
Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@897 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-06Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean
per-endpoint, per-interface level. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@882 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-16Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean
USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@740 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Fix incorrect Event call name in USBInterrupt.c.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@719 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-31Fix demos based on the device mode HID class driver, as well as the driver ↵Dean
itself. Changed HID device class driver to require the user to give a buffer and size to hold the previously generated report, for comparison purposes, and altered the prototype of the CALLBACK_HID_Device_CreateHIDReport() function so that reports can be sent to the host even if there are no apparent changes (useful for relative movements in mice, etc.). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@708 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-30Add new HID_Device_MillisecondElapsed() function to the HID device Class ↵Dean
driver, to move the burden of managing the Idle period of each instance to the library and not the user application. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@706 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-30Fix to HID device mode Class driver, so that new reports are compared ↵Dean
against the old, and updated reports made within the idle period are sent immediately to the host. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@704 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-27State information for class drivers is now zeroed out during enumeration ↵Dean
(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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@689 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-28Added const modifiers to device mode class drivers.Dean
Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@636 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-18Break device mode class driver interfaces into seperate config and state ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@609 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-15Doxygen corrections to fix Doxygen warnings in some demos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@596 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-11Changed to new device mode Class Driver function name prefixes to make way ↵Dean
for similar host mode Class drivers. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@591 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-11Some minor whitespace corrections.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@590 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