aboutsummaryrefslogtreecommitdiff
path: root/keyboards/custommk/genesis/rev2/rev2.h
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-04-10 12:13:40 +0100
committerAkshay <[email protected]>2022-04-10 12:13:40 +0100
commitdc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch)
tree4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/custommk/genesis/rev2/rev2.h
Diffstat (limited to 'keyboards/custommk/genesis/rev2/rev2.h')
-rw-r--r--keyboards/custommk/genesis/rev2/rev2.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/keyboards/custommk/genesis/rev2/rev2.h b/keyboards/custommk/genesis/rev2/rev2.h
new file mode 100644
index 000000000..e978e706c
--- /dev/null
+++ b/keyboards/custommk/genesis/rev2/rev2.h
@@ -0,0 +1,66 @@
1/* Copyright 2020 customMK
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_numpad_5x4( \
22 K00, K01, K02, K03, \
23 K10, K11, K12, \
24 K20, K21, K22, K23, \
25 K30, K31, K32, \
26 K40, K42, K43 \
27) { \
28 { K00, K01, K02, K03 }, \
29 { K10, K11, K12, KC_NO }, \
30 { K20, K21, K22, K23 }, \
31 { K30, K31, K32, KC_NO }, \
32 { K40, KC_NO, K42, K43 }, \
33 { KC_NO, KC_NO, KC_NO, KC_NO} \
34}
35
36#define LAYOUT_ortho_5x4( \
37 K00, K01, K02, K03, \
38 K10, K11, K12, K13, \
39 K20, K21, K22, K23, \
40 K30, K31, K32, K33, \
41 K40, K41, K42, K43 \
42) { \
43 { K00, K01, K02, K03 }, \
44 { K10, K11, K12, K13 }, \
45 { K20, K21, K22, K23 }, \
46 { K30, K31, K32, K33 }, \
47 { K40, K41, K42, K43 }, \
48 { KC_NO, KC_NO, KC_NO, KC_NO} \
49}
50
51
52#define LAYOUT_via_6x4( \
53 E00A, E00B, E01A, E01B, \
54 K00, K01, K02, K03, \
55 K10, K11, K12, K13, \
56 K20, K21, K22, K23, \
57 K30, K31, K32, K33, \
58 K40, K41, K42, K43 \
59) { \
60 { K00, K01, K02, K03 }, \
61 { K10, K11, K12, K13 }, \
62 { K20, K21, K22, K23 }, \
63 { K30, K31, K32, K33 }, \
64 { K40, K41, K42, K43 }, \
65 { E00A, E00B, E01A, E01B } \
66}