aboutsummaryrefslogtreecommitdiff
path: root/keyboards/macro1/keymaps/macropad/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/macro1/keymaps/macropad/keymap.c')
-rw-r--r--keyboards/macro1/keymaps/macropad/keymap.c63
1 files changed, 63 insertions, 0 deletions
diff --git a/keyboards/macro1/keymaps/macropad/keymap.c b/keyboards/macro1/keymaps/macropad/keymap.c
new file mode 100644
index 000000000..68566fb53
--- /dev/null
+++ b/keyboards/macro1/keymaps/macropad/keymap.c
@@ -0,0 +1,63 @@
1 /* Copyright 2021 Laneware Peripherals
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#include QMK_KEYBOARD_H
18
19/*
20 * ┌───┐ ┌───┬───┐
21 * │K00│ │K01│K02│
22 * └───┘ └───┴───┘
23 * ┌───┬───┬───┬───┐
24 * │K10│K11│K12│K13│
25 * ├───┼───┼───┼───┤
26 * │K20│K21│K22│K23│
27 * ├───┼───┼───┼───┤
28 * │K30│K31│K32│K33│
29 * ├───┼───┼───┼───┤
30 * │K40│K41│K42│K43│
31 * ├───┼───┼───┼───┤
32 * │K50│K51│K52│K53│
33 * └───┴───┴───┴───┘
34 */
35
36const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
37
38 [0] = LAYOUT_macropad(
39 KC_MUTE, KC_F1, KC_F2,
40 KC_F3, KC_F4, KC_F5, KC_F6,
41 KC_F7, KC_F8, KC_F9, KC_F10,
42 KC_F11, KC_F12, KC_F13, KC_F14,
43 KC_F15, KC_F16, KC_F17, KC_F18,
44 KC_F19, KC_F20, KC_F21, KC_F22),
45
46 [1] = LAYOUT_macropad(
47 KC_TRNS, KC_TRNS, KC_TRNS,
48 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
49 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
50 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
51 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
52 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
53
54 [2] = LAYOUT_macropad(
55 KC_TRNS, KC_TRNS, KC_TRNS,
56 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
57 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
58 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
59 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
60 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), };
61
62
63