diff options
author | William Ehman <will@ehman.com> | 2021-07-02 21:53:13 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 20:53:13 -0700 |
commit | ad30218701782192b9125c32b85cdbcc203c0c85 (patch) | |
tree | 6fe212ac7440baeec179b046347e1f9b3254650b /keyboards/manyboard/macro/macro.h | |
parent | 04bc74d8f52370a01f1f67a5de8ae751e307e8c9 (diff) | |
download | qmk_firmware-ad30218701782192b9125c32b85cdbcc203c0c85.tar.gz qmk_firmware-ad30218701782192b9125c32b85cdbcc203c0c85.zip |
[Keyboard] manyboard macro (#11896)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/manyboard/macro/macro.h')
-rw-r--r-- | keyboards/manyboard/macro/macro.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/manyboard/macro/macro.h b/keyboards/manyboard/macro/macro.h new file mode 100644 index 000000000..0dccdbebf --- /dev/null +++ b/keyboards/manyboard/macro/macro.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /* Copyright 2020 WillEhman | ||
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_ortho_4x4( \ | ||
22 | K00, K01, K02, K03, \ | ||
23 | K10, K11, K12, K13, \ | ||
24 | K20, K21, K22, K23, \ | ||
25 | K30, K31, K32, K33 \ | ||
26 | ) { \ | ||
27 | { K00, K01, K02, K03 }, \ | ||
28 | { K10, K11, K12, K13 }, \ | ||
29 | { K20, K21, K22, K23 }, \ | ||
30 | { K30, K31, K32, K33 } \ | ||
31 | } | ||