From ade6f8e71a065efe8f30bb5fa42ac398b9aa6e78 Mon Sep 17 00:00:00 2001
From: MechMerlin <30334081+mechmerlin@users.noreply.github.com>
Date: Thu, 17 Jan 2019 18:19:09 -0800
Subject: [PATCH] [Keyboard] update VENDOR_ID, PRODUCT_ID, and DEVICE_VER for
Duck boards (#4612)
* change VENDOR_ID, PRODUCT_ID, and DEVICE_VER as step one in getting VIA support
* fix v1 product id
* VIA doesn't use the version, so we need to encode it into PRODUCT_ID
---
keyboards/duck/eagle_viper/v2/config.h | 6 +++---
keyboards/duck/jetfire/config.h | 6 +++---
keyboards/duck/lightsaver/config.h | 4 ++--
keyboards/duck/octagon/v1/config.h | 6 +++---
keyboards/duck/octagon/v2/config.h | 6 +++---
5 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/keyboards/duck/eagle_viper/v2/config.h b/keyboards/duck/eagle_viper/v2/config.h
index f04b4a0fd..9c49344ff 100644
--- a/keyboards/duck/eagle_viper/v2/config.h
+++ b/keyboards/duck/eagle_viper/v2/config.h
@@ -21,9 +21,9 @@ along with this program. If not, see .
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6050
-#define DEVICE_VER 0x0104
+#define VENDOR_ID 0x444B // Duck ("DK")
+#define PRODUCT_ID 0x4556 // Eagle/Viper ("EV")
+#define DEVICE_VER 0x0002
#define MANUFACTURER Duck
#define PRODUCT Eagle/Viper V2
#define DESCRIPTION 60% Korean custom keyboard
diff --git a/keyboards/duck/jetfire/config.h b/keyboards/duck/jetfire/config.h
index 80b531fd5..54c5321c6 100644
--- a/keyboards/duck/jetfire/config.h
+++ b/keyboards/duck/jetfire/config.h
@@ -20,9 +20,9 @@ along with this program. If not, see .
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6050
-#define DEVICE_VER 0x0104
+#define VENDOR_ID 0x444B // Duck ("DK")
+#define PRODUCT_ID 0x4A46 // Jetfire ("JF")
+#define DEVICE_VER 0x0001
#define MANUFACTURER Duck
#define PRODUCT Jetfire
#define DESCRIPTION A custom keyboard
diff --git a/keyboards/duck/lightsaver/config.h b/keyboards/duck/lightsaver/config.h
index bc984c7e5..745af4330 100644
--- a/keyboards/duck/lightsaver/config.h
+++ b/keyboards/duck/lightsaver/config.h
@@ -21,8 +21,8 @@ along with this program. If not, see .
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x1337
+#define VENDOR_ID 0x444B // Duck ("DK")
+#define PRODUCT_ID 0x4C53 // Lightsaver ("LS")
#define DEVICE_VER 0x0003
#define MANUFACTURER Duck
#define PRODUCT Lightsaver V3
diff --git a/keyboards/duck/octagon/v1/config.h b/keyboards/duck/octagon/v1/config.h
index fbbc8999b..a2b3d6413 100644
--- a/keyboards/duck/octagon/v1/config.h
+++ b/keyboards/duck/octagon/v1/config.h
@@ -21,9 +21,9 @@ along with this program. If not, see .
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6050
-#define DEVICE_VER 0x0104
+#define VENDOR_ID 0x444B // Duck ("DK")
+#define PRODUCT_ID 0x4F31 // Octagon V1 ("O1")
+#define DEVICE_VER 0x0001
#define MANUFACTURER Duck
#define PRODUCT Octagon V1
#define DESCRIPTION Duck Octagon V1
diff --git a/keyboards/duck/octagon/v2/config.h b/keyboards/duck/octagon/v2/config.h
index c916a30a1..7adcb2760 100644
--- a/keyboards/duck/octagon/v2/config.h
+++ b/keyboards/duck/octagon/v2/config.h
@@ -21,9 +21,9 @@ along with this program. If not, see .
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6050
-#define DEVICE_VER 0x0104
+#define VENDOR_ID 0x444B // Duck ("DK")
+#define PRODUCT_ID 0x4F32 // Octagon V2 ("O2")
+#define DEVICE_VER 0x0002
#define MANUFACTURER Duck
#define PRODUCT Octagon V2
#define DESCRIPTION Duck Octagon V2