aboutsummaryrefslogtreecommitdiff
path: root/keyboards/evyd13/atom47/rev3/rev3.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/evyd13/atom47/rev3/rev3.h')
-rw-r--r--keyboards/evyd13/atom47/rev3/rev3.h54
1 files changed, 41 insertions, 13 deletions
diff --git a/keyboards/evyd13/atom47/rev3/rev3.h b/keyboards/evyd13/atom47/rev3/rev3.h
index ad875bb40..aa2e53ba2 100644
--- a/keyboards/evyd13/atom47/rev3/rev3.h
+++ b/keyboards/evyd13/atom47/rev3/rev3.h
@@ -1,23 +1,51 @@
1#ifndef ATOM47_REV3_H 1/*
2#define ATOM47_REV3_H 2Copyright 2021 Evelien Dekkers
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
3 19
4#include "quantum.h" 20#include "quantum.h"
5 21
6// readability 22// readability
7#define XXX KC_NO 23#define XXX KC_NO
8 24
9#define LAYOUT( \ 25#define LAYOUT_all LAYOUT_split_space
10 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \ 26
11 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1c, \ 27#define LAYOUT_split_space( \
12 k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ 28 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \
13 k30, k31, k32, k33, k35, k37, k39, k3a, k3b, k3c \ 29 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1c, \
30 k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \
31 k30, k31, k32, k33, k35, k37, k39, k3a, k3b, k3c \
14) \ 32) \
15{ \ 33{ \
16 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c}, \ 34 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c}, \
17 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, XXX, k1c}, \ 35 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, XXX, k1c}, \
18 {k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c}, \ 36 {k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c}, \
19 {k30, k31, k32, k33, XXX, k35, XXX, k37, XXX, k39, k3a, k3b, k3c} \ 37 {k30, k31, k32, k33, XXX, k35, XXX, k37, XXX, k39, k3a, k3b, k3c} \
20} 38}
21 39
22 40#define LAYOUT_full_space( \
23#endif 41 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \
42 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1c, \
43 k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \
44 k30, k31, k32, k37, k39, k3a, k3b, k3c \
45) \
46{ \
47 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c}, \
48 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, XXX, k1c}, \
49 {k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c}, \
50 {k30, k31, k32, XXX, XXX, XXX, XXX, k37, XXX, k39, k3a, k3b, k3c} \
51}