diff options
Diffstat (limited to 'keyboards/quark/quark.h')
| -rw-r--r-- | keyboards/quark/quark.h | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/keyboards/quark/quark.h b/keyboards/quark/quark.h new file mode 100644 index 000000000..a81b062d0 --- /dev/null +++ b/keyboards/quark/quark.h | |||
| @@ -0,0 +1,106 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 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 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "quantum.h" | ||
| 21 | |||
| 22 | #define LAYOUT_5x12_2x225( \ | ||
| 23 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | ||
| 24 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | ||
| 25 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | ||
| 26 | k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, \ | ||
| 27 | k400, k401, k402, k403, k404, k405, k406, k407 \ | ||
| 28 | ) \ | ||
| 29 | { \ | ||
| 30 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | ||
| 31 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | ||
| 32 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | ||
| 33 | { k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 }, \ | ||
| 34 | { k400, k401, KC_NO, k402, k403, KC_NO, KC_NO, k404, k405, KC_NO, k406, k407 } \ | ||
| 35 | } | ||
| 36 | |||
| 37 | #define LAYOUT_5x12_2x3( \ | ||
| 38 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | ||
| 39 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | ||
| 40 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | ||
| 41 | k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, \ | ||
| 42 | k400, k401, k402, k403, k404, k405 \ | ||
| 43 | ) \ | ||
| 44 | { \ | ||
| 45 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | ||
| 46 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | ||
| 47 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | ||
| 48 | { k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 }, \ | ||
| 49 | { k400, k401, KC_NO, KC_NO, k402, KC_NO, KC_NO, k403, KC_NO, KC_NO, k404, k405 } \ | ||
| 50 | } | ||
| 51 | |||
| 52 | #define LAYOUT_ortho_4x12( \ | ||
| 53 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | ||
| 54 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | ||
| 55 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | ||
| 56 | k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 \ | ||
| 57 | ) \ | ||
| 58 | { \ | ||
| 59 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | ||
| 60 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | ||
| 61 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | ||
| 62 | { k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 }, \ | ||
| 63 | {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \ | ||
| 64 | } | ||
| 65 | |||
| 66 | #define LAYOUT_4x12_MIT( \ | ||
| 67 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | ||
| 68 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | ||
| 69 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | ||
| 70 | k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310 \ | ||
| 71 | ) \ | ||
| 72 | { \ | ||
| 73 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | ||
| 74 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | ||
| 75 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | ||
| 76 | { k300, k301, k302, k303, k304, k305, KC_NO, k306, k307, k308, k309, k310 }, \ | ||
| 77 | {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \ | ||
| 78 | } | ||
| 79 | |||
| 80 | #define LAYOUT_4x12_2x225( \ | ||
| 81 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | ||
| 82 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | ||
| 83 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | ||
| 84 | k300, k301, k302, k303, k304, k305, k306, k307 \ | ||
| 85 | ) \ | ||
| 86 | { \ | ||
| 87 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | ||
| 88 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | ||
| 89 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | ||
| 90 | { k300, k301, KC_NO, k302, k303, KC_NO, KC_NO, k304, k305, KC_NO, k306, k307 }, \ | ||
| 91 | {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \ | ||
| 92 | } | ||
| 93 | |||
| 94 | #define LAYOUT_4x12_2x3( \ | ||
| 95 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | ||
| 96 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | ||
| 97 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | ||
| 98 | k300, k301, k302, k303, k304, k305, k306, k307 \ | ||
| 99 | ) \ | ||
| 100 | { \ | ||
| 101 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | ||
| 102 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | ||
| 103 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | ||
| 104 | { k300, k301, k302, KC_NO, k303, KC_NO, KC_NO, k304, KC_NO, k305, k306, k307 }, \ | ||
| 105 | {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \ | ||
| 106 | } | ||
