]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
ErgoDone: VID/PID/NKRO (#1872)
authormarcostrauss <32447479+marcostrauss@users.noreply.github.com>
Sat, 21 Oct 2017 20:00:41 +0000 (22:00 +0200)
committerJack Humbert <jack.humb@gmail.com>
Sat, 21 Oct 2017 20:00:41 +0000 (10:00 -1000)
* - Fancy default PID and option for corresponding VID.
- Information about official VID/PID.
- Correct manufacturer name.
- NKRO enabled by default.

* Resolved build error with `#ifndef FORCE_NKRO`.

keyboards/ergodone/config.h

index d3e0f80360ef96f7c77245bf09f96fdae4606750..1feff26aa73ab7f84d755ac9849d3f58b999fa23 100644 (file)
@@ -4,10 +4,11 @@
 #include "config_common.h"
 
 /* USB Device descriptor parameter */
-#define VENDOR_ID       0xFEED
-#define PRODUCT_ID      0x1307
+#define VENDOR_ID       0xFEED  // You may want to use 0x47EC for "KTEC", which doesn't seem to be in official use as of October 2017.
+#define PRODUCT_ID      0xE60D  // For "EGOD"/"ErgoDone".
+// The official ErgoDone VID and PID are documented at http://pid.codes/1209/2328/.
 #define DEVICE_VER      0x0001
-#define MANUFACTURER    ErgoDone
+#define MANUFACTURER    K.T.E.C.
 #define PRODUCT         ErgoDone
 #define DESCRIPTION     QMK keyboard firmware for ErgoDone
 
 
 #define USB_MAX_POWER_CONSUMPTION 500
 
+/* NKRO */
+#ifndef FORCE_NKRO
+    #define FORCE_NKRO  // Depends on NKRO_ENABLE.
+#endif
+
 /*
  * Feature disable options
  *  These options are also useful to firmware size reduction.