diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2021-11-16 09:05:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 17:05:15 -0800 |
commit | 22eba600418696542a6b84125f4dff2f37638c1e (patch) | |
tree | 7bbc86cb9d13596abfc905b78c8a397c2b41753f /keyboards/macro3/macro3.h | |
parent | d3ae937b50df8d98deb3dc3b9f8aa1635eac1c8b (diff) | |
download | qmk_firmware-22eba600418696542a6b84125f4dff2f37638c1e.tar.gz qmk_firmware-22eba600418696542a6b84125f4dff2f37638c1e.zip |
[Keyboard] Add macro3 PCB support (#15131)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: filterpaper <filterpaper@localhost>
Diffstat (limited to 'keyboards/macro3/macro3.h')
-rw-r--r-- | keyboards/macro3/macro3.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/macro3/macro3.h b/keyboards/macro3/macro3.h new file mode 100644 index 000000000..12621d2c0 --- /dev/null +++ b/keyboards/macro3/macro3.h | |||
@@ -0,0 +1,28 @@ | |||
1 | /* Copyright 2020 David Philip Barr <@davidphilipbarr> | ||
2 | * Copyright 2021 @filterpaper | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #include "quantum.h" | ||
19 | |||
20 | #define LAYOUT( \ | ||
21 | K00, K01, K02, K03, \ | ||
22 | K10, K11, K12, K13 \ | ||
23 | ) \ | ||
24 | { \ | ||
25 | { K00, K01, K02, K03 }, \ | ||
26 | { K10, K11, K12, K13 } \ | ||
27 | } | ||
28 | |||