summaryrefslogtreecommitdiffstats
path: root/keyboards/9key
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-03-14 10:54:49 +1100
committerGitHub <noreply@github.com>2022-03-13 23:54:49 +0000
commitc0f417911703738b3ede14b87be5c4a39db07016 (patch)
treef828fc66a81cad7d79def8399af9fc932fa3a9fb /keyboards/9key
parentdf3770551a4dcbf8188a16453dd64fe1787f83d8 (diff)
Move keyboard USB IDs and strings to data driven: 0-9 (#16481)
Diffstat (limited to 'keyboards/9key')
-rw-r--r--keyboards/9key/config.h7
-rw-r--r--keyboards/9key/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/9key/config.h b/keyboards/9key/config.h
index b0462eb50f..622ccc7ae9 100644
--- a/keyboards/9key/config.h
+++ b/keyboards/9key/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 0xFEED
-#define PRODUCT_ID 0x0007
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Bishop Keyboards
-#define PRODUCT 9Key
-
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
diff --git a/keyboards/9key/info.json b/keyboards/9key/info.json
index 326a63b12c..5508697df6 100644
--- a/keyboards/9key/info.json
+++ b/keyboards/9key/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "9key",
+ "keyboard_name": "9Key",
+ "manufacturer": "Bishop Keyboards",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x0007",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}, {"label":"k20", "x":0, "y":2}, {"label":"k21", "x":1, "y":2}, {"label":"k22", "x":2, "y":2}]