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