diff options
author | tmk <nobody@nowhere> | 2010-09-25 00:48:27 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-09-25 00:48:27 +0900 |
commit | 1bcebc2848c7dff87b0de2748fbb53ae84275ccb (patch) | |
tree | c9ca1a17fa1b74383a95a125a950aad2b1b9749b | |
parent | 1de02c1f15ca1c04aae0bde818b01ea40cf32120 (diff) |
ver 0.2
-rw-r--r-- | mykey.c | 2 | ||||
-rw-r--r-- | usb_device.c | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -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; diff --git a/usb_device.c b/usb_device.c index a6ad770ecb..1d790f043c 100644 --- a/usb_device.c +++ b/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 |