1
0
Fork 0

ErgoDone: VID/PID/NKRO (#1872)

* - 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`.
This commit is contained in:
marcostrauss 2017-10-21 22:00:41 +02:00 committed by Jack Humbert
parent b25338a809
commit 57bf00f28f

View file

@ -4,10 +4,11 @@
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */ /* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED #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 0x1307 #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 DEVICE_VER 0x0001
#define MANUFACTURER ErgoDone #define MANUFACTURER K.T.E.C.
#define PRODUCT ErgoDone #define PRODUCT ErgoDone
#define DESCRIPTION QMK keyboard firmware for ErgoDone #define DESCRIPTION QMK keyboard firmware for ErgoDone
@ -56,6 +57,11 @@
#define USB_MAX_POWER_CONSUMPTION 500 #define USB_MAX_POWER_CONSUMPTION 500
/* NKRO */
#ifndef FORCE_NKRO
#define FORCE_NKRO // Depends on NKRO_ENABLE.
#endif
/* /*
* Feature disable options * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.