aboutsummaryrefslogtreecommitdiff
path: root/data/templates/base/%(KEYBOARD)s.h
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/base/%(KEYBOARD)s.h')
-rw-r--r--data/templates/base/%(KEYBOARD)s.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/data/templates/base/%(KEYBOARD)s.h b/data/templates/base/%(KEYBOARD)s.h
new file mode 100644
index 000000000..3e8ca3912
--- /dev/null
+++ b/data/templates/base/%(KEYBOARD)s.h
@@ -0,0 +1,22 @@
1// Copyright %(YEAR)s %(YOUR_NAME)s (@%(USER_NAME)s)
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include "quantum.h"
7
8/* This is a shortcut to help you visually see your layout.
9 *
10 * The first section contains all of the arguments representing the physical
11 * layout of the board and position of the keys.
12 *
13 * The second converts the arguments into a two-dimensional array which
14 * represents the switch matrix.
15 */
16#define LAYOUT( \
17 k00, k01, k02, \
18 k10, k12 \
19) { \
20 { k00, k01, k02 }, \
21 { k10, KC_NO, k12 } \
22}