diff options
| author | koshinoya <moto_yda@icloud.com> | 2021-01-14 15:40:10 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-13 22:40:10 -0800 |
| commit | d97d4794e050f2b7397e1ff586d91cdfb3c7d02b (patch) | |
| tree | 68dad26f805a776fb306efe3f1d834fe0910a171 /keyboards/rect44/rect44.h | |
| parent | b48a5b573f6be52bfd87f88cd9c8903b2bc0915f (diff) | |
| download | qmk_firmware-d97d4794e050f2b7397e1ff586d91cdfb3c7d02b.tar.gz qmk_firmware-d97d4794e050f2b7397e1ff586d91cdfb3c7d02b.zip | |
[Keyboard] Add Rect44 keyboard (#11484)
* Add Rect44 keyboard
* Update keyboards/rect44/readme.md
Co-authored-by: Joel Challis <git@zvecr.com>
* Delete config.h files in keymaps
* Update keyboards/rect44/rules.mk
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/rect44/readme.md
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/rect44/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/rect44/rect44.h')
| -rw-r--r-- | keyboards/rect44/rect44.h | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/keyboards/rect44/rect44.h b/keyboards/rect44/rect44.h new file mode 100644 index 000000000..3de310754 --- /dev/null +++ b/keyboards/rect44/rect44.h | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | /* Copyright 2020-2021 koshinoya | ||
| 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 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define LAYOUT_all( \ | ||
| 22 | A00, A01, A02, A03, A04, A05, A06, A07, A08, A09, A10, A11, A12, \ | ||
| 23 | B00, B01, B02, B03, B04, B05, B06, B07, B08, B09, B10, B11, B12, \ | ||
| 24 | C00, C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12, \ | ||
| 25 | D00, D01, D02, D03, D05, D06, D08, D09, D10, D11, D12 \ | ||
| 26 | ) \ | ||
| 27 | { \ | ||
| 28 | { A00, A01, A02, A03, A04, A05, A06, A07, A08, A09, A10, A11, A12 }, \ | ||
| 29 | { B00, B01, B02, B03, B04, B05, B06, B07, B08, B09, B10, B11, B12 }, \ | ||
| 30 | { C00, C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12 }, \ | ||
| 31 | { D00, D01, D02, D03, KC_NO, D05, D06, KC_NO, D08, D09, D10, D11, D12 } \ | ||
| 32 | } | ||
| 33 | |||
| 34 | #define LAYOUT_ansi_44key( \ | ||
| 35 | A00, A01, A02, A03, A04, A05, A06, A07, A08, A09, A10, A11, A12, \ | ||
| 36 | B00, B01, B02, B03, B04, B05, B06, B07, B08, B09, B10, B12, \ | ||
| 37 | C00, C02, C03, C04, C05, C06, C07, C08, C09, C10, C12, \ | ||
| 38 | D00, D01, D02, D05, D09, D10, D11, D12 \ | ||
| 39 | ) \ | ||
| 40 | { \ | ||
| 41 | { A00, A01, A02, A03, A04, A05, A06, A07, A08, A09, A10, A11, A12 }, \ | ||
| 42 | { B00, B01, B02, B03, B04, B05, B06, B07, B08, B09, B10, KC_NO, B12 }, \ | ||
| 43 | { C00, KC_NO, C02, C03, C04, C05, C06, C07, C08, C09, C10, KC_NO, C12 }, \ | ||
| 44 | { D00, D01, D02, KC_NO, KC_NO, D05, KC_NO, KC_NO, KC_NO, D09, D10, D11, D12 } \ | ||
| 45 | } | ||
| 46 | |||
| 47 | #define LAYOUT_ansi_47key( \ | ||
| 48 | A00, A01, A02, A03, A04, A05, A06, A07, A08, A09, A10, A11, A12, \ | ||
| 49 | B00, B01, B02, B03, B04, B05, B06, B07, B08, B09, B10, B12, \ | ||
| 50 | C00, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12, \ | ||
| 51 | D00, D01, D02, D03, D06, D08, D09, D10, D11, D12 \ | ||
| 52 | ) \ | ||
| 53 | { \ | ||
| 54 | { A00, A01, A02, A03, A04, A05, A06, A07, A08, A09, A10, A11, A12 }, \ | ||
| 55 | { B00, B01, B02, B03, B04, B05, B06, B07, B08, B09, B10, KC_NO, B12 }, \ | ||
| 56 | { C00, KC_NO, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12 }, \ | ||
| 57 | { D00, D01, D02, D03, KC_NO, KC_NO, D06, KC_NO, D08, D09, D10, D11, D12 } \ | ||
| 58 | } | ||
| 59 | |||
| 60 | #define LAYOUT_iso_48key( \ | ||
| 61 | A00, A01, A02, A03, A04, A05, A06, A07, A08, A09, A10, A11, \ | ||
| 62 | B00, B01, B02, B03, B04, B05, B06, B07, B08, B09, B10, B11, B12, \ | ||
| 63 | C00, C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12, \ | ||
| 64 | D00, D01, D02, D03, D06, D08, D09, D10, D11, D12 \ | ||
| 65 | ) \ | ||
| 66 | { \ | ||
| 67 | { A00, A01, A02, A03, A04, A05, A06, A07, A08, A09, A10, A11, KC_NO }, \ | ||
| 68 | { B00, B01, B02, B03, B04, B05, B06, B07, B08, B09, B10, B11, B12 }, \ | ||
| 69 | { C00, C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12 }, \ | ||
| 70 | { D00, D01, D02, D03, KC_NO, KC_NO, D06, KC_NO, D08, D09, D10, D11, D12 } \ | ||
| 71 | } | ||
