aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-09-20 12:52:35 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-09-20 12:52:35 +0000
commit0d5e30e69fdd10cc75f62e550c32ab4baf9b0005 (patch)
tree3425cec164946cbc1c3fd94e62ac48baf5ca4111 /Demos/Device
parent6c5c9212d816674c67aa3708b73558b023478b94 (diff)
downloadlufa-0d5e30e69fdd10cc75f62e550c32ab4baf9b0005.tar.gz
lufa-0d5e30e69fdd10cc75f62e550c32ab4baf9b0005.tar.bz2
lufa-0d5e30e69fdd10cc75f62e550c32ab4baf9b0005.zip
Remove type definitions of the keyboard and mouse boot protocol report layouts from the Device Class Driver demos, as they are now located inside the class driver.
Diffstat (limited to 'Demos/Device')
-rw-r--r--Demos/Device/ClassDriver/Keyboard/Keyboard.h11
-rw-r--r--Demos/Device/ClassDriver/Mouse/Mouse.h11
2 files changed, 0 insertions, 22 deletions
diff --git a/Demos/Device/ClassDriver/Keyboard/Keyboard.h b/Demos/Device/ClassDriver/Keyboard/Keyboard.h
index ebd83d5c5..c6310cf9c 100644
--- a/Demos/Device/ClassDriver/Keyboard/Keyboard.h
+++ b/Demos/Device/ClassDriver/Keyboard/Keyboard.h
@@ -53,17 +53,6 @@
#include <LUFA/Drivers/Board/Buttons.h>
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/USB/Class/HID.h>
-
- /* 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;
/* Macros: */
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
diff --git a/Demos/Device/ClassDriver/Mouse/Mouse.h b/Demos/Device/ClassDriver/Mouse/Mouse.h
index 325bfc502..635736d0f 100644
--- a/Demos/Device/ClassDriver/Mouse/Mouse.h
+++ b/Demos/Device/ClassDriver/Mouse/Mouse.h
@@ -52,17 +52,6 @@
#include <LUFA/Drivers/Board/Buttons.h>
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/USB/Class/HID.h>
-
- /* Type Defines: */
- /** 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;
/* Macros: */
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */