aboutsummaryrefslogtreecommitdiff
path: root/keyboards/capsunlocked/cu7/cu7.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/capsunlocked/cu7/cu7.h')
-rw-r--r--keyboards/capsunlocked/cu7/cu7.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/keyboards/capsunlocked/cu7/cu7.h b/keyboards/capsunlocked/cu7/cu7.h
new file mode 100644
index 000000000..2f30dbb2d
--- /dev/null
+++ b/keyboards/capsunlocked/cu7/cu7.h
@@ -0,0 +1,36 @@
1/*
2Copyright 2021 CapsUnlocked
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14#pragma once
15
16#include "quantum.h"
17
18/* This a shortcut to help you visually see your layout.
19 *
20 * The first section contains all of the arguments representing the physical
21 * layout of the board and position of the keys.
22 *
23 * The second converts the arguments into a two-dimensional array which
24 * represents the switch matrix.
25 */
26
27#define LAYOUT( \
28 K01, \
29 K10, K11, K12, \
30 K20, K21, K22 \
31) { \
32 { KC_NO, K01, KC_NO }, \
33 { K10, K11, K12 }, \
34 { K20, K21, K22 } \
35}
36