Fix demos based on the device mode HID class driver, as well as the driver itself...
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 31 Jul 2009 03:22:08 +0000 (03:22 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 31 Jul 2009 03:22:08 +0000 (03:22 +0000)
commiteb410869474e14ec5762a96b930bc200409b6915
treea764f35f83d621e59fb25dffab1f0b4f07d65c20
parenta789619fbe2cd07347816cc5c168e8f904acca86
Fix demos based on the device mode HID class driver, as well as the driver 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.).
14 files changed:
Demos/Device/ClassDriver/GenericHID/GenericHID.c
Demos/Device/ClassDriver/GenericHID/GenericHID.h
Demos/Device/ClassDriver/Joystick/Joystick.c
Demos/Device/ClassDriver/Joystick/Joystick.h
Demos/Device/ClassDriver/Keyboard/Keyboard.c
Demos/Device/ClassDriver/Keyboard/Keyboard.h
Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.h
Demos/Device/ClassDriver/Mouse/Mouse.c
Demos/Device/ClassDriver/Mouse/Mouse.h
LUFA/Drivers/USB/Class/Device/HID.c
LUFA/Drivers/USB/Class/Device/HID.h
Projects/Magstripe/Magstripe.c
Projects/Magstripe/Magstripe.h