diff options
Diffstat (limited to 'keyboards/lazydesigners/dimple/ortho/ortho.h')
-rw-r--r-- | keyboards/lazydesigners/dimple/ortho/ortho.h | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/keyboards/lazydesigners/dimple/ortho/ortho.h b/keyboards/lazydesigners/dimple/ortho/ortho.h new file mode 100644 index 000000000..592cf47de --- /dev/null +++ b/keyboards/lazydesigners/dimple/ortho/ortho.h | |||
@@ -0,0 +1,91 @@ | |||
1 | /* | ||
2 | Copyright 2021 LAZYDESIGNERS | ||
3 | This program is free software: you can redistribute it and/or modify | ||
4 | it under the terms of the GNU General Public License as published by | ||
5 | the Free Software Foundation, either version 2 of the License, or | ||
6 | (at your option) any later version. | ||
7 | This program is distributed in the hope that it will be useful, | ||
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | GNU General Public License for more details. | ||
11 | You should have received a copy of the GNU General Public License | ||
12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
13 | */ | ||
14 | |||
15 | #pragma once | ||
16 | |||
17 | #include "quantum.h" | ||
18 | |||
19 | /* | ||
20 | * ,-------------------------------------------------------------. | ||
21 | * | | | | | | | | | | | | | | ||
22 | * |-------------------------------------------------------------| | ||
23 | * | | | | | | | | | | | | | | ||
24 | * |-------------------------------------------------------------| | ||
25 | * | | | | | | | | | | | | | | ||
26 | * |-------------------------------------------------------------| | ||
27 | * | | | | 2U | | 2U | | | | | ||
28 | * `------------------------------------------------------' | ||
29 | */ | ||
30 | |||
31 | #define LAYOUT_ortho_2u( \ | ||
32 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
33 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ | ||
34 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ | ||
35 | K300, K302, K303, K304, K305, K306, K307, K308, K309 \ | ||
36 | ) { \ | ||
37 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
38 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ | ||
39 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \ | ||
40 | { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, KC_NO, KC_NO } \ | ||
41 | } | ||
42 | |||
43 | /* | ||
44 | * ,-------------------------------------------------------------. | ||
45 | * | | | | | | | | | | | | | | ||
46 | * |-------------------------------------------------------------| | ||
47 | * | | | | | | | | | | | | | | ||
48 | * |-------------------------------------------------------------| | ||
49 | * | | | | | | | | | | | | | | ||
50 | * |-------------------------------------------------------------| | ||
51 | * | | | | | 3U | | | | | | ||
52 | * `------------------------------------------------------' | ||
53 | */ | ||
54 | |||
55 | #define LAYOUT_ortho_3u( \ | ||
56 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
57 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ | ||
58 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ | ||
59 | K300, K302, K303, K304, K305, K306, K307, K308, K309 \ | ||
60 | ) { \ | ||
61 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
62 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ | ||
63 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \ | ||
64 | { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, KC_NO, KC_NO } \ | ||
65 | } | ||
66 | |||
67 | /* | ||
68 | * ,-------------------------------------------------------------. | ||
69 | * | | | | | | | | | | | | | | ||
70 | * |-------------------------------------------------------------| | ||
71 | * | | | | | | | | | | | | | | ||
72 | * |-------------------------------------------------------------| | ||
73 | * | | | | | | | | | | | | | | ||
74 | * |-------------------------------------------------------------| | ||
75 | * | | | 7U | | | | ||
76 | * `------------------------------------------------------' | ||
77 | */ | ||
78 | |||
79 | #define LAYOUT_ortho_7u( \ | ||
80 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
81 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ | ||
82 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ | ||
83 | K300, K302, K305, K308, K309 \ | ||
84 | ) { \ | ||
85 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
86 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ | ||
87 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \ | ||
88 | { K300, KC_NO, K302, KC_NO, KC_NO, K305, KC_NO, KC_NO, K308, K309, KC_NO, KC_NO } \ | ||
89 | } | ||
90 | |||
91 | |||