From 9f4a9d5826dde903aa0dcec3264cbf192b5044da Mon Sep 17 00:00:00 2001
From: Joel Challis <git@zvecr.com>
Date: Sun, 10 Mar 2024 05:20:25 +0000
Subject: Enable 'keyboard.json' as a build target (#22891)

---
 data/templates/keyboard/config.h      | 20 --------------------
 data/templates/keyboard/info.json     | 25 -------------------------
 data/templates/keyboard/keyboard.json | 25 +++++++++++++++++++++++++
 data/templates/keyboard/rules.mk      |  1 -
 4 files changed, 25 insertions(+), 46 deletions(-)
 delete mode 100644 data/templates/keyboard/config.h
 delete mode 100644 data/templates/keyboard/info.json
 create mode 100644 data/templates/keyboard/keyboard.json
 delete mode 100644 data/templates/keyboard/rules.mk

(limited to 'data/templates/keyboard')

diff --git a/data/templates/keyboard/config.h b/data/templates/keyboard/config.h
deleted file mode 100644
index b15c8d31f1..0000000000
--- a/data/templates/keyboard/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright %YEAR% %REAL_NAME% (@%USER_NAME%)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-/*
- * Feature disable options
- *  These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/data/templates/keyboard/info.json b/data/templates/keyboard/info.json
deleted file mode 100644
index 65f935fb42..0000000000
--- a/data/templates/keyboard/info.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
-    "keyboard_name": "%KEYBOARD%",
-    "maintainer": "%USER_NAME%",
-    "manufacturer": "%REAL_NAME%",
-    "processor": "%MCU%",
-    "bootloader": "%BOOTLOADER%",
-    "diode_direction": "COL2ROW",
-    "matrix_pins": {
-        "cols": ["C2"],
-        "rows": ["D1"]
-    },
-    "usb": {
-        "vid": "0xFEED",
-        "pid": "0x0000",
-        "device_version": "1.0.0"
-    },
-    "features": {
-        "bootmagic": true,
-        "command": false,
-        "console": false,
-        "extrakey": true,
-        "mousekey": true,
-        "nkro": true
-    }
-}
diff --git a/data/templates/keyboard/keyboard.json b/data/templates/keyboard/keyboard.json
new file mode 100644
index 0000000000..65f935fb42
--- /dev/null
+++ b/data/templates/keyboard/keyboard.json
@@ -0,0 +1,25 @@
+{
+    "keyboard_name": "%KEYBOARD%",
+    "maintainer": "%USER_NAME%",
+    "manufacturer": "%REAL_NAME%",
+    "processor": "%MCU%",
+    "bootloader": "%BOOTLOADER%",
+    "diode_direction": "COL2ROW",
+    "matrix_pins": {
+        "cols": ["C2"],
+        "rows": ["D1"]
+    },
+    "usb": {
+        "vid": "0xFEED",
+        "pid": "0x0000",
+        "device_version": "1.0.0"
+    },
+    "features": {
+        "bootmagic": true,
+        "command": false,
+        "console": false,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
+    }
+}
diff --git a/data/templates/keyboard/rules.mk b/data/templates/keyboard/rules.mk
deleted file mode 100644
index 6e7633bfe0..0000000000
--- a/data/templates/keyboard/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-# This file intentionally left blank
-- 
cgit v1.2.3