summaryrefslogtreecommitdiff
path: root/keyboards/skeletn87/soldered/soldered.h
blob: c815d7643dad48d2ee8b0315f1af0f4939a80c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/* Copyright 2021 kb-elmo<mail@elmo.space>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#pragma once

#include "quantum.h"

#define ____ KC_NO

#define LAYOUT_all( \
    k000,       k001, k011, k002, k012, k003, k013, k004, k014, k005, k015, k006, k016,    k007, k017, k008, \
    k020, k030, k021, k031, k022, k032, k023, k033, k024, k034, k025, k035, k026, k036,    k027, k037, k028, \
    k040, k050, k041, k051, k042, k052, k043, k053, k044, k054, k045, k055, k046, k056,    k047, k057, k048, \
    k060, k070, k061, k071, k062, k072, k063, k073, k064, k074, k065, k075,    k066,                         \
    k080, k090, k081, k091, k082, k092, k083, k093, k084, k094, k085, k095, k086, k096,          k097,       \
    k100, k110, k101,                   k113,                   k114, k105, k115, k106,    k107, k117, k108  \
) { \
    { k000, k001, k002, k003, k004, k005, k006, k007, k008 }, \
    { ____, k011, k012, k013, k014, k015, k016, k017, ____ }, \
    { k020, k021, k022, k023, k024, k025, k026, k027, k028 }, \
    { k030, k031, k032, k033, k034, k035, k036, k037, ____ }, \
    { k040, k041, k042, k043, k044, k045, k046, k047, k048 }, \
    { k050, k051, k052, k053, k054, k055, k056, k057, ____ }, \
    { k060, k061, k062, k063, k064, k065, k066, ____, ____ }, \
    { k070, k071, k072, k073, k074, k075, ____, ____, ____ }, \
    { k080, k081, k082, k083, k084, k085, k086, ____, ____ }, \
    { k090, k091, k092, k093, k094, k095, k096, k097, ____ }, \
    { k100, k101, ____, ____, ____, k105, k106, k107, k108 }, \
    { k110, ____, ____, k113, k114, k115, ____, k117, ____ }  \
}

#define LAYOUT_tkl_ansi( \
    k000,       k001, k011, k002, k012, k003, k013, k004, k014, k005, k015, k006, k016,    k007, k017, k008, \
    k020, k030, k021, k031, k022, k032, k023, k033, k024, k034, k025, k035, k026, k036,    k027, k037, k028, \
    k040, k050, k041, k051, k042, k052, k043, k053, k044, k054, k045, k055, k046, k056,    k047, k057, k048, \
    k060, k070, k061, k071, k062, k072, k063, k073, k064, k074, k065, k075,    k066,                         \
       k080,    k081, k091, k082, k092, k083, k093, k084, k094, k085, k095,    k086,             k097,       \
    k100, k110, k101,                   k113,                   k114, k105, k115, k106,    k107, k117, k108  \
) { \
    { k000, k001, k002, k003, k004, k005, k006, k007, k008 }, \
    { ____, k011, k012, k013, k014, k015, k016, k017, ____ }, \
    { k020, k021, k022, k023, k024, k025, k026, k027, k028 }, \
    { k030, k031, k032, k033, k034, k035, k036, k037, ____ }, \
    { k040, k041, k042, k043, k044, k045, k046, k047, k048 }, \
    { k050, k051, k052, k053, k054, k055, k056, k057, ____ }, \
    { k060, k061, k062, k063, k064, k065, k066, ____, ____ }, \
    { k070, k071, k072, k073, k074, k075, ____, ____, ____ }, \
    { k080, k081, k082, k083, k084, k085, k086, ____, ____ }, \
    { ____, k091, k092, k093, k094, k095, ____, k097, ____ }, \
    { k100, k101, ____, ____, ____, k105, k106, k107, k108 }, \
    { k110, ____, ____, k113, k114, k115, ____, k117, ____ }  \
}

#define LAYOUT_tkl_ansi_tsangan( \
    k000,       k001, k011, k002, k012, k003, k013, k004, k014, k005, k015, k006, k016,    k007, k017, k008, \
    k020, k030, k021, k031, k022, k032, k023, k033, k024, k034, k025, k035, k026, k036,    k027, k037, k028, \
    k040, k050, k041, k051, k042, k052, k043, k053, k044, k054, k045, k055, k046, k056,    k047, k057, k048, \
    k060, k070, k061, k071, k062, k072, k063, k073, k064, k074, k065, k075,    k066,                         \
       k080,    k081, k091, k082, k092, k083, k093, k084, k094, k085, k095,    k086,             k097,       \
    k100, k110, k101,                   k113,                         k105, k115, k106,    k107, k117, k108  \
) { \
    { k000, k001, k002, k003, k004, k005, k006, k007, k008 }, \
    { ____, k011, k012, k013, k014, k015, k016, k017, ____ }, \
    { k020, k021, k022, k023, k024, k025, k026, k027, k028 }, \
    { k030, k031, k032, k033, k034, k035, k036, k037, ____ }, \
    { k040, k041, k042, k043, k044, k045, k046, k047, k048 }, \
    { k050, k051, k052, k053, k054, k055, k056, k057, ____ }, \
    { k060, k061, k062, k063, k064, k065, k066, ____, ____ }, \
    { k070, k071, k072, k073, k074, k075, ____, ____, ____ }, \
    { k080, k081, k082, k083, k084, k085, k086, ____, ____ }, \
    { ____, k091, k092, k093, k094, k095, ____, k097, ____ }, \
    { k100, k101, ____, ____, ____, k105, k106, k107, k108 }, \
    { k110, ____, ____, k113, ____, k115, ____, k117, ____ }  \
}

#define LAYOUT_tkl_iso( \
    k000,       k001, k011, k002, k012, k003, k013, k004, k014, k005, k015, k006, k016,    k007, k017, k008, \
    k020, k030, k021, k031, k022, k032, k023, k033, k024, k034, k025, k035, k026, k036,    k027, k037, k028, \
    k040, k050, k041, k051, k042, k052, k043, k053, k044, k054, k045, k055, k046,          k047, k057, k048, \
    k060, k070, k061, k071, k062, k072, k063, k073, k064, k074, k065, k075, k066, k056,                      \
    k080, k090, k081, k091, k082, k092, k083, k093, k084, k094, k085, k095,    k086,             k097,       \
    k100, k110, k101,                   k113,                   k114, k105, k115, k106,    k107, k117, k108  \
) { \
    { k000, k001, k002, k003, k004, k005, k006, k007, k008 }, \
    { ____, k011, k012, k013, k014, k015, k016, k017, ____ }, \
    { k020, k021, k022, k023, k024, k025, k026, k027, k028 }, \
    { k030, k031, k032, k033, k034, k035, k036, k037, ____ }, \
    { k040, k041, k042, k043, k044, k045, k046, k047, k048 }, \
    { k050, k051, k052, k053, k054, k055, k056, k057, ____ }, \
    { k060, k061, k062, k063, k064, k065, k066, ____, ____ }, \
    { k070, k071, k072, k073, k074, k075, ____, ____, ____ }, \
    { k080, k081, k082, k083, k084, k085, k086, ____, ____ }, \
    { k090, k091, k092, k093, k094, k095, ____, k097, ____ }, \
    { k100, k101, ____, ____, ____, k105, k106, k107, k108 }, \
    { k110, ____, ____, k113, k114, k115, ____, k117, ____ }  \
}