summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-25 00:28:38 +1000
committerGitHub <noreply@github.com>2022-08-24 15:28:38 +0100
commitcf41c24db853f825150802d30dce73ba507b69c0 (patch)
tree832ea3d643dabefb6174fc2849f1700b3a5b6902 /keyboards/handwired
parente06ea4a10fd57abfc51f4021dfc2dbe15e5432b2 (diff)
downloadqmk_firmware-cf41c24db853f825150802d30dce73ba507b69c0.tar.gz
qmk_firmware-cf41c24db853f825150802d30dce73ba507b69c0.zip
Move keyboard USB IDs and strings to data driven: develop (#18152)
* Move keyboard USB IDs and strings to data driven: develop * Also do new onekeys
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/onekey/bluepill_f103c6/config.h2
-rw-r--r--keyboards/handwired/onekey/bluepill_f103c6/info.json3
-rw-r--r--keyboards/handwired/onekey/kb2040/config.h1
-rw-r--r--keyboards/handwired/onekey/kb2040/info.json3
-rw-r--r--keyboards/handwired/onekey/rp2040/config.h1
-rw-r--r--keyboards/handwired/onekey/rp2040/info.json3
-rw-r--r--keyboards/handwired/onekey/teensy_35/config.h2
-rw-r--r--keyboards/handwired/onekey/teensy_35/info.json3
8 files changed, 12 insertions, 6 deletions
diff --git a/keyboards/handwired/onekey/bluepill_f103c6/config.h b/keyboards/handwired/onekey/bluepill_f103c6/config.h
index e53aa63292..903277bd3b 100644
--- a/keyboards/handwired/onekey/bluepill_f103c6/config.h
+++ b/keyboards/handwired/onekey/bluepill_f103c6/config.h
@@ -18,8 +18,6 @@
#include "config_common.h"
-#define PRODUCT Onekey Bluepill STM32F103C6
-
#define MATRIX_COL_PINS { B0 }
#define MATRIX_ROW_PINS { A7 }
#define UNUSED_PINS
diff --git a/keyboards/handwired/onekey/bluepill_f103c6/info.json b/keyboards/handwired/onekey/bluepill_f103c6/info.json
new file mode 100644
index 0000000000..0ef180f6ec
--- /dev/null
+++ b/keyboards/handwired/onekey/bluepill_f103c6/info.json
@@ -0,0 +1,3 @@
+{
+ "keyboard_name": "Onekey Bluepill STM32F103C6"
+}
diff --git a/keyboards/handwired/onekey/kb2040/config.h b/keyboards/handwired/onekey/kb2040/config.h
index 24a7d3a3eb..0bf7adf37f 100644
--- a/keyboards/handwired/onekey/kb2040/config.h
+++ b/keyboards/handwired/onekey/kb2040/config.h
@@ -5,7 +5,6 @@
#include "config_common.h"
-#define PRODUCT Onekey Raspberry Pi RP2040
#define MATRIX_COL_PINS \
{ GP4 }
#define MATRIX_ROW_PINS \
diff --git a/keyboards/handwired/onekey/kb2040/info.json b/keyboards/handwired/onekey/kb2040/info.json
new file mode 100644
index 0000000000..696b772142
--- /dev/null
+++ b/keyboards/handwired/onekey/kb2040/info.json
@@ -0,0 +1,3 @@
+{
+ "keyboard_name": "Onekey KB2040"
+}
diff --git a/keyboards/handwired/onekey/rp2040/config.h b/keyboards/handwired/onekey/rp2040/config.h
index f4e45a8981..c0ef468aa9 100644
--- a/keyboards/handwired/onekey/rp2040/config.h
+++ b/keyboards/handwired/onekey/rp2040/config.h
@@ -5,7 +5,6 @@
#include "config_common.h"
-#define PRODUCT Onekey Raspberry Pi RP2040
#define MATRIX_COL_PINS \
{ GP4 }
#define MATRIX_ROW_PINS \
diff --git a/keyboards/handwired/onekey/rp2040/info.json b/keyboards/handwired/onekey/rp2040/info.json
new file mode 100644
index 0000000000..696b021dc1
--- /dev/null
+++ b/keyboards/handwired/onekey/rp2040/info.json
@@ -0,0 +1,3 @@
+{
+ "keyboard_name": "Onekey RP2040"
+}
diff --git a/keyboards/handwired/onekey/teensy_35/config.h b/keyboards/handwired/onekey/teensy_35/config.h
index 18eebcaffd..13eaf1a4f6 100644
--- a/keyboards/handwired/onekey/teensy_35/config.h
+++ b/keyboards/handwired/onekey/teensy_35/config.h
@@ -19,8 +19,6 @@
// TODO: including this causes "error: expected identifier before '(' token" errors
//#include "config_common.h"
-#define PRODUCT Onekey Teensy 3.5
-
#define MATRIX_COL_PINS { D5 } // 20/A6
#define MATRIX_ROW_PINS { B2 } // 19/A5
diff --git a/keyboards/handwired/onekey/teensy_35/info.json b/keyboards/handwired/onekey/teensy_35/info.json
new file mode 100644
index 0000000000..99b6a236c5
--- /dev/null
+++ b/keyboards/handwired/onekey/teensy_35/info.json
@@ -0,0 +1,3 @@
+{
+ "keyboard_name": "Onekey Teensy 3.5"
+}