diff options
Diffstat (limited to 'keyboards/m3n3van/m3n3van.h')
| -rw-r--r-- | keyboards/m3n3van/m3n3van.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/keyboards/m3n3van/m3n3van.h b/keyboards/m3n3van/m3n3van.h new file mode 100644 index 000000000..be9efe7e5 --- /dev/null +++ b/keyboards/m3n3van/m3n3van.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Matthew Dias <matthewdias@me.com> | ||
| 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 | #pragma once | ||
| 19 | |||
| 20 | #include "quantum.h" | ||
| 21 | |||
| 22 | #define XXX KC_NO | ||
| 23 | |||
| 24 | #define LAYOUT( \ | ||
| 25 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0C, \ | ||
| 26 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1C, \ | ||
| 27 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \ | ||
| 28 | K30, K31, K32, K34, K37, K39, K3B, K3C \ | ||
| 29 | ) \ | ||
| 30 | { \ | ||
| 31 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, XXX, K0C }, \ | ||
| 32 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, XXX, K1C }, \ | ||
| 33 | { K20, XXX, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C }, \ | ||
| 34 | { K30, K31, K32, XXX, K34, XXX, XXX, K37, XXX, K39, XXX, K3B, K3C } \ | ||
| 35 | } | ||
| 36 | |||
| 37 | #define LAYOUT_encoder( \ | ||
| 38 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, \ | ||
| 39 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1C, \ | ||
| 40 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \ | ||
| 41 | K30, K31, K32, K34, K37, K39, K3B, K3C \ | ||
| 42 | ) \ | ||
| 43 | { \ | ||
| 44 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \ | ||
| 45 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, XXX, K1C }, \ | ||
| 46 | { K20, XXX, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C }, \ | ||
| 47 | { K30, K31, K32, XXX, K34, XXX, XXX, K37, XXX, K39, XXX, K3B, K3C } \ | ||
| 48 | } | ||
