summaryrefslogtreecommitdiffstats
path: root/data/templates
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-02-15 01:42:58 +0000
committerGitHub <noreply@github.com>2022-02-15 01:42:58 +0000
commitb0621223bc53f634a28243b874379e8e157878fd (patch)
tree25849db31989959bd72181621da23346ad3fd4bf /data/templates
parentc9f192bae88ba4190d2e7f0bd560563b377f394d (diff)
Various fixes for new-keyboard (#16358)
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/keyboard/config.h20
-rw-r--r--data/templates/keyboard/info.json1
2 files changed, 21 insertions, 0 deletions
diff --git a/data/templates/keyboard/config.h b/data/templates/keyboard/config.h
new file mode 100644
index 0000000000..b15c8d31f1
--- /dev/null
+++ b/data/templates/keyboard/config.h
@@ -0,0 +1,20 @@
+// 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
index 92718faf3a..41bc691313 100644
--- a/data/templates/keyboard/info.json
+++ b/data/templates/keyboard/info.json
@@ -1,6 +1,7 @@
{
"keyboard_name": "%KEYBOARD%",
"maintainer": "%USER_NAME%",
+ "manufacturer": "%REAL_NAME%",
"processor": "%MCU%",
"bootloader": "%BOOTLOADER%",
"diode_direction": "COL2ROW",