summaryrefslogtreecommitdiff
path: root/keyboards/duck/eagle_viper/v2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-30 13:02:47 +1000
committerGitHub <noreply@github.com>2022-07-29 20:02:47 -0700
commit306e50b84cdf0aaac01838c4519209b642dee113 (patch)
tree386de8a2406202b1a0fecd51e6c932e77d5c4c62 /keyboards/duck/eagle_viper/v2
parentd1096ad440e046fb44d3ba75c0049065b1dadb60 (diff)
Move keyboard USB IDs and strings to data driven: D (#17814)
Diffstat (limited to 'keyboards/duck/eagle_viper/v2')
-rw-r--r--keyboards/duck/eagle_viper/v2/config.h7
-rw-r--r--keyboards/duck/eagle_viper/v2/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/duck/eagle_viper/v2/config.h b/keyboards/duck/eagle_viper/v2/config.h
index 4153f2963d..122eeb4b4a 100644
--- a/keyboards/duck/eagle_viper/v2/config.h
+++ b/keyboards/duck/eagle_viper/v2/config.h
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#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
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/duck/eagle_viper/v2/info.json b/keyboards/duck/eagle_viper/v2/info.json
index 57d6af4fa8..e21ca68209 100644
--- a/keyboards/duck/eagle_viper/v2/info.json
+++ b/keyboards/duck/eagle_viper/v2/info.json
@@ -1,5 +1,11 @@
{
"keyboard_name": "Eagle/Viper V2",
+ "manufacturer": "Duck",
+ "usb": {
+ "vid": "0x444B",
+ "pid": "0x4556",
+ "device_version": "0.0.2"
+ },
"layout_aliases": {
"LAYOUT_eagle": "LAYOUT_60_ansi",
"LAYOUT_viper": "LAYOUT_60_hhkb",