]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/lufa/lufa.h
confirm SetReport LED.
[tmk_firmware.git] / protocol / lufa / lufa.h
index efb8c383781845a56afbd3d6056347a0f71fa0a1..71c279b0dcb27570e810a3e91dd1c2ae31dea504 100644 (file)
@@ -1,3 +1,10 @@
+/* 
+ * Copyright 2012 Jun Wako <wakojun@gmail.com>
+ * This file is based on:
+ *     LUFA-120219/Demos/Device/Lowlevel/KeyboardMouse
+ *     LUFA-120219/Demos/Device/Lowlevel/GenericHID
+ */
+
 /*
              LUFA Library
      Copyright (C) Dean Camera, 2012.
@@ -32,7 +39,6 @@
 #ifndef _LUFA_H_
 #define _LUFA_H_
 
-       /* Includes: */
 #include <avr/io.h>
 #include <avr/wdt.h>
 #include <avr/power.h>
 #include <LUFA/Version.h>
 #include <LUFA/Drivers/USB/USB.h>
 
+
+/* extra report structure */
+typedef struct {
+    uint8_t  report_id;
+    uint16_t usage;
+} __attribute__ ((packed)) report_extra_t;
+
 #endif