Browse Source

updated USB vendor and product IDs

partial-rewrite
Ben Blazak 8 years ago
parent
commit
b8224d25de
3 changed files with 17 additions and 4 deletions
  1. +11
    -0
      src/TODO
  2. +4
    -4
      src/lib-other/pjrc/usb_keyboard/usb_keyboard.c
  3. +2
    -0
      src/lib/usb/TODO.c

+ 11
- 0
src/TODO View File

@ -0,0 +1,11 @@
-+ set USB vendor ID = 0x1d50 // Openmoko, Inc.
-+ set USB product ID = 0x6028 // ErgoDox ergonomic keyboard
- link to the [ErgoDox website] (http://ergodox.org/) in toplevel readme.md
- update licence.md with "except when otherwise noted" or something similar, to
reflect the fact that i have code (in src/lib, and contrib) under different
licences, with different authors
- make new branch and update for fredrick's new PCB (pre-prototype)

+ 4
- 4
src/lib-other/pjrc/usb_keyboard/usb_keyboard.c View File

@ -34,16 +34,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"unspecified" // TODO
#define STR_PRODUCT L"ErgoDox ergonomic 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 0x047C
#define VENDOR_ID 0x1d50 // Openmoko, Inc.
#define PRODUCT_ID 0x6028 // ErgoDox ergonomic keyboard
// USB devices are supposed to implment a halt feature, which is


+ 2
- 0
src/lib/usb/TODO.c View File

@ -39,6 +39,8 @@
// TODO
// - read the hid device class definition .pdf
// - set USB vendor ID = 0x1d50 // Openmoko, Inc.
// USB product ID = 0x6028 // ErgoDox ergonomic keyboard
// DONE
// - read the hid usage tables .pdf


Loading…
Cancel
Save