aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-09-21 06:13:00 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-09-21 06:13:00 +0000
commit0029cb454ee35c8c7bb41659bd2ed9109f26c375 (patch)
tree1f44cd1b979e3ef873bc3c9ea9ff7b873d36dcf6 /Demos/Device
parent9d6a373cb61b55b94312de3809ac76fcbd0a696c (diff)
downloadlufa-0029cb454ee35c8c7bb41659bd2ed9109f26c375.tar.gz
lufa-0029cb454ee35c8c7bb41659bd2ed9109f26c375.tar.bz2
lufa-0029cb454ee35c8c7bb41659bd2ed9109f26c375.zip
Fix broken KeyboardMouse ClassDriver device demo - use internal HID Class Driver structures for boot protocol reports.
Diffstat (limited to 'Demos/Device')
-rw-r--r--Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.h b/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.h
index 1f47c3e4b..a9368a4de 100644
--- a/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.h
+++ b/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.h
@@ -60,27 +60,6 @@
/** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
-
- /* Type Defines: */
- /** Type define for the keyboard HID report structure, for creating and sending HID reports to the host PC.
- * This mirrors the layout described to the host in the HID report descriptor, in Descriptors.c.
- */
- typedef struct
- {
- uint8_t Modifier; /**< Modifier mask byte, containing a mask of modifier keys set (such as shift or CTRL) */
- uint8_t Reserved; /**< Reserved, always set as 0x00 */
- uint8_t KeyCode[6]; /**< Array of up to six simultaneous key codes of pressed keys */
- } USB_KeyboardReport_Data_t;
-
- /** Type define for the mouse HID report structure, for creating and sending HID reports to the host PC.
- * This mirrors the layout described to the host in the HID report descriptor, in Descriptors.c.
- */
- typedef struct
- {
- uint8_t Button; /**< Bit mask of the currently pressed mouse buttons */
- int8_t X; /**< Current mouse delta X movement, as a signed 8-bit integer */
- int8_t Y; /**< Current mouse delta Y movement, as a signed 8-bit integer */
- } USB_MouseReport_Data_t;
/* Function Prototypes: */
void SetupHardware(void);