]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
Fix LUFA descriptor of Extra for Windows
authortmk <nobody@nowhere>
Mon, 2 Jul 2012 02:53:11 +0000 (11:53 +0900)
committertmk <nobody@nowhere>
Mon, 2 Jul 2012 02:56:33 +0000 (11:56 +0900)
- worked on Linux but not on Windows
  (logica/usage MINIMUM must start at 0x001)

keyboard/hbkb/Makefile [deleted symlink]
keyboard/hhkb/config.h
protocol/lufa/descriptor.c

diff --git a/keyboard/hbkb/Makefile b/keyboard/hbkb/Makefile
deleted file mode 120000 (symlink)
index f00d036..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Makefile.lufa
\ No newline at end of file
index 91446466fe1fc663108665003bba628f52aa0e77..a8cefd5edc5c391792d5c7dd526486a3840f3ea7 100644 (file)
@@ -23,7 +23,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
 #define VENDOR_ID       0xFEED
-#define PRODUCT_ID      0xCAFF
+#define PRODUCT_ID      0xCAFE
 #define DEVICE_VER      0x0101
 #define MANUFACTURER    t.m.k.
 #define PRODUCT         HHKB mod
index d3f740bfe693fd7b248cb19b5c5c4c29624beaef..3c98819ff7d996af73f3aef24b1538aaab7c627d 100644 (file)
@@ -155,9 +155,9 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM ExtraReport[] =
     HID_RI_USAGE(8, 0x80), /* System Control */
     HID_RI_COLLECTION(8, 0x01), /* Application */
         HID_RI_REPORT_ID(8, REPORT_ID_SYSTEM),
-        HID_RI_LOGICAL_MINIMUM(16, 0x0081),
+        HID_RI_LOGICAL_MINIMUM(16, 0x0001),
         HID_RI_LOGICAL_MAXIMUM(16, 0x00B7),
-        HID_RI_USAGE_MINIMUM(16, 0x0081), /* System Power Down */
+        HID_RI_USAGE_MINIMUM(16, 0x0001), /* System Power Down */
         HID_RI_USAGE_MAXIMUM(16, 0x00B7), /* System Display LCD Autoscale */
         HID_RI_REPORT_SIZE(8, 16),
         HID_RI_REPORT_COUNT(8, 1),
@@ -168,9 +168,9 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM ExtraReport[] =
     HID_RI_USAGE(8, 0x01), /* Consumer Control */
     HID_RI_COLLECTION(8, 0x01), /* Application */
         HID_RI_REPORT_ID(8, REPORT_ID_CONSUMER),
-        HID_RI_LOGICAL_MINIMUM(16, 0x0010),
+        HID_RI_LOGICAL_MINIMUM(16, 0x0001),
         HID_RI_LOGICAL_MAXIMUM(16, 0x029C),
-        HID_RI_USAGE_MINIMUM(16, 0x0010), /* +10 */
+        HID_RI_USAGE_MINIMUM(16, 0x0001), /* +10 */
         HID_RI_USAGE_MAXIMUM(16, 0x029C), /* AC Distribute Vertically */
         HID_RI_REPORT_SIZE(8, 16),
         HID_RI_REPORT_COUNT(8, 1),