summaryrefslogtreecommitdiff
path: root/keyboards/preonic/rev2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-20 10:42:49 +1000
committerGitHub <noreply@github.com>2022-08-20 01:42:49 +0100
commit201a914beb7a07d8e08b1cbfa8dd35a768f6ae3a (patch)
treee96cfbd96557ebfb795be7309fda320b457faede /keyboards/preonic/rev2
parent835c971f78b5d995bb58f0889fac00aac348de52 (diff)
Move keyboard USB IDs and strings to data driven, pass 2: P-R (#18091)
Diffstat (limited to 'keyboards/preonic/rev2')
-rw-r--r--keyboards/preonic/rev2/config.h23
-rw-r--r--keyboards/preonic/rev2/info.json9
2 files changed, 9 insertions, 23 deletions
diff --git a/keyboards/preonic/rev2/config.h b/keyboards/preonic/rev2/config.h
deleted file mode 100644
index a62fed4850..0000000000
--- a/keyboards/preonic/rev2/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2017 Jack Humbert <jack.humb@gmail.com>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "config_common.h"
-
-#define DEVICE_VER 0x0002
-#define PRODUCT_ID 0x67F3
diff --git a/keyboards/preonic/rev2/info.json b/keyboards/preonic/rev2/info.json
new file mode 100644
index 0000000000..5362084dc7
--- /dev/null
+++ b/keyboards/preonic/rev2/info.json
@@ -0,0 +1,9 @@
+{
+ "keyboard_name": "Preonic",
+ "manufacturer": "OLKB",
+ "usb": {
+ "vid": "0x03A8",
+ "pid": "0x67F3",
+ "device_version": "0.0.2"
+ }
+}