tmk 14 سال پیش
والد
کامیت
1bcebc2848
2فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 1 1
      mykey.c
  2. 4 4
      usb_device.c

+ 1 - 1
mykey.c

@@ -76,7 +76,7 @@ int main(void)
     TCCR0B = 0x05;
     TIMSK0 = (1<<TOIE0);
 
-    print("keyboard firmware 0.1 for t.m.k.\n");
+    print("firmware 0.2 for t.m.k.\n");
 
     while (1) {
         int layer = 0;

+ 4 - 4
usb_device.c

@@ -35,16 +35,16 @@
  **************************************************************************/
 
 // You can change these to give your code its own name.
-#define STR_MANUFACTURER	L"MfgName"
-#define STR_PRODUCT		L"Keyboard"
+#define STR_MANUFACTURER	L"t.m.k."
+#define STR_PRODUCT		L"t.m.k. keyboard"
 
 
 // Mac OS-X and Linux automatically load the correct drivers.  On
 // Windows, even though the driver is supplied by Microsoft, an
 // INF file is needed to load the driver.  These numbers need to
 // match the INF file.
-#define VENDOR_ID		0x16C0
-#define PRODUCT_ID		0x047D
+#define VENDOR_ID		0xFEED
+#define PRODUCT_ID		0xBABE
 
 
 // USB devices are supposed to implment a halt feature, which is