\r
\r
# LUFA library compile-time options\r
-LUFA_OPTS = -D NO_STREAM_CALLBACKS\r
-LUFA_OPTS += -D USB_DEVICE_ONLY\r
+LUFA_OPTS = -D USB_DEVICE_ONLY\r
LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8\r
LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1\r
LUFA_OPTS += -D USE_FLASH_DESCRIPTORS\r
\r
\r
# LUFA library compile-time options\r
-LUFA_OPTS = -D NO_STREAM_CALLBACKS\r
-LUFA_OPTS += -D USB_DEVICE_ONLY\r
+LUFA_OPTS = -D USB_DEVICE_ONLY\r
LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8\r
LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1\r
LUFA_OPTS += -D USE_FLASH_DESCRIPTORS\r
#include <LUFA/Version.h>\r
#include <LUFA/Drivers/Misc/TerminalCodes.h>\r
#include <LUFA/Drivers/USB/USB.h>\r
- #include <LUFA/Drivers/USB/Class/HID.h>\r
#include <LUFA/Drivers/Peripheral/SerialStream.h>\r
#include <LUFA/Drivers/Board/LEDs.h>\r
\r
/** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */\r
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)\r
\r
+ /* Type Defines: */\r
+ /** Type define for a standard Boot Protocol Keyboard report */\r
+ typedef struct\r
+ {\r
+ uint8_t Modifier; /**< Keyboard modifier byte, indicating pressed modifier keys (such as Shift, Control, etc.) */\r
+ uint8_t Reserved; /**< Reserved for OEM use, always set to 0 */\r
+ uint8_t KeyCode[6]; /**< Key codes of the currently pressed keys */\r
+ } USB_KeyboardReport_Data_t;\r
+ \r
/* Function Prototypes: */\r
void Keyboard_HID_Task(void);\r
void SetupHardware(void);\r
#include <LUFA/Version.h>\r
#include <LUFA/Drivers/Misc/TerminalCodes.h>\r
#include <LUFA/Drivers/USB/USB.h>\r
- #include <LUFA/Drivers/USB/Class/HID.h>\r
#include <LUFA/Drivers/Peripheral/SerialStream.h>\r
#include <LUFA/Drivers/Board/LEDs.h>\r
\r
/** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */\r
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)\r
\r
+ /* Type Defines: */\r
+ /** Type define for a standard Boot Protocol Mouse report */\r
+ typedef struct\r
+ {\r
+ uint8_t Button; /**< Button mask for currently pressed buttons in the mouse */\r
+ int8_t X; /**< Current delta X movement of the mouse */\r
+ int8_t Y; /**< Current delta Y movement on the mouse */\r
+ } USB_MouseReport_Data_t;\r
+ \r
/* Function Prototypes: */\r
void Mouse_HID_Task(void);\r
void SetupHardware(void);\r
*/\r
\r
/** \ingroup Group_BoardDrivers\r
- * @defgroup Group_Temperature Temperature Driver - LUFA/Drivers/Board/Temperature.h\r
+ * @defgroup Group_Temperature Temperature Sensor Driver - LUFA/Drivers/Board/Temperature.h\r
*\r
* \section Sec_Dependencies Module Source Dependencies\r
* The following files must be built with any user project that uses this module:\r
* </tr>\r
* <tr>\r
* <td>Printer</td>\r
- * <td bgcolor="#EE0000">No</td>\r
+ * <td bgcolor="#00EE00">Yes</td>\r
* <td bgcolor="#00EE00">Yes</td>\r
* </tr>\r
* <tr>\r
* <td>RNDIS</td>\r
- * <td bgcolor="#EE0000">No</td>\r
* <td bgcolor="#00EE00">Yes</td>\r
+ * <td bgcolor="#EE0000">No</td>\r
* </tr>\r
* <tr>\r
* <td>Still Image</td>\r
* - Add detailed overviews of how each demo works\r
* - Master LUFA include file rather than per-module includes\r
* - Change makefiles to allow for absolute LUFA location to be used\r
- * - Add RNDIS Host Class driver\r
* - Add unit testing to APIs\r
* - Add board overviews\r
* - Add resume interrupt support\r
+ * - Specification compliance testing for all device demos\r
+ * - Add RNDIS Host Class driver\r
* - Make new demos\r
* -# Keyboard/Mouse Dual Class Host\r
* -# Multiple-Report HID device\r
- * - Port LUFA to other architectures\r
+ * - Port LUFA codebase\r
* -# AVR32 UC3B series microcontrollers\r
* -# Atmel ARM7 series microcontrollers\r
+ * -# Other (commercial) C compilers\r
+ * - Extend AVRISP project\r
+ * -# Add alternate USB-to-Serial mode\r
+ * -# Add alternate USB-to-TWI mode\r
*/\r
* into difficulties or need some advice. In addition, you can also email the library author to recieve personalised\r
* support when you need it (subject to author's schedule).\r
*\r
- * <small>* Atmel Mouse Device Demo 4292 bytes, LUFA Mouse Low Level Device Demo 3336 bytes, under identical build\r
+ * <small>* Atmel Stack Mouse Device Demo 4292 bytes, LUFA Mouse Low Level Device Demo 3336 bytes, under identical build\r
* environments</small>\r
*/\r
\ No newline at end of file
#include <avr/pgmspace.h>\r
\r
#include <LUFA/Drivers/USB/USB.h>\r
- #include <LUFA/Drivers/USB/Class/CDC.h>\r
\r
/* Macros: */\r
/** Endpoint number of the AVRISP bidirectional data endpoint. */\r