aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/LowLevel/KeyboardMouse/KeyboardMouse.c
AgeCommit message (Collapse)Author
2012-06-09Spell check source code, fix mistakes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2322 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
2011-11-16Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver ↵Dean
(thanks to Laszlo Monda). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1977 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-04Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean
Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1726 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-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-10Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean
parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1628 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-28Added standard keyboard HID report scancode defines (thanks to László Monda).Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1544 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-24All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1537 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-08-22Changed all Device mode LowLevel demos and Device Class drivers so that the ↵Dean
control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1448 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-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-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-07Split out LED report processing from the host into a seperate routine in the ↵Dean
LowLevel KeyboardMouse device demo, to avoid duplicate code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1117 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-07Added Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and ↵Dean
demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1116 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-07Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class ↵Dean
driver and Keyboard demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1114 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-10-08Application documentation/comment cleanup.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@862 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-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-21Add explicit guards to all device mode tasks to ensure the device is ↵Dean
connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@673 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-08Error status LEDs shown when device endpoint configuration fails to complete.Dean
MIDI device demo no longer blocks if a note change event is sent while the endpoint is not ready. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@581 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-07Converted device mode low-level demos to schedulerless.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@579 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