summaryrefslogtreecommitdiff
path: root/keyboards/ky01
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:03:47 +1000
committerGitHub <noreply@github.com>2022-08-03 17:03:47 +1000
commit1b92c204c10594fce6a715710c277a748a4fdc68 (patch)
tree0b238d2ae2b06f29ad9e0db04e698b39d259e689 /keyboards/ky01
parentce9bb6d39bd1a0a3622dc95b9819f1ef5b33daf7 (diff)
Move keyboard USB IDs and strings to data driven: K (#17846)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/ky01')
-rw-r--r--keyboards/ky01/config.h7
-rw-r--r--keyboards/ky01/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/ky01/config.h b/keyboards/ky01/config.h
index e0b94622c6..b5ad4a25e8 100644
--- a/keyboards/ky01/config.h
+++ b/keyboards/ky01/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 0x4B4F /* "KO" */
-#define PRODUCT_ID 0x4B59 /* "KY" */
-#define DEVICE_VER 0x0001
-#define MANUFACTURER KnoblesseOblige
-#define PRODUCT KY-01
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 16
diff --git a/keyboards/ky01/info.json b/keyboards/ky01/info.json
index ef6498fb04..d80cb261a2 100644
--- a/keyboards/ky01/info.json
+++ b/keyboards/ky01/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "ky01",
+ "keyboard_name": "KY-01",
+ "manufacturer": "KnoblesseOblige",
"url": "https://geekhack.org/index.php?topic=107809.0",
"maintainer": "KnoblesseOblige",
+ "usb": {
+ "vid": "0x4B4F",
+ "pid": "0x4B59",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [