aboutsummaryrefslogtreecommitdiff
path: root/keyboards/boardsource/3x4/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/boardsource/3x4/keymaps/default/keymap.c')
-rw-r--r--keyboards/boardsource/3x4/keymaps/default/keymap.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/boardsource/3x4/keymaps/default/keymap.c b/keyboards/boardsource/3x4/keymaps/default/keymap.c
new file mode 100644
index 000000000..67133735f
--- /dev/null
+++ b/keyboards/boardsource/3x4/keymaps/default/keymap.c
@@ -0,0 +1,26 @@
1#include QMK_KEYBOARD_H
2
3enum layers {
4 _MAIN,
5 _RAISE,
6 _LOWER,
7};
8
9// Readability keycodes
10#define LOWER MO(_LOWER)
11#define RAISE MO(_RAISE)
12
13const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
14
15 [_MAIN] = LAYOUT(
16 KC_0, KC_1, KC_4, KC_7,
17 KC_ENT, KC_2, KC_5, KC_8,
18 RAISE, KC_3, KC_6, KC_9
19 ),
20 [_RAISE] = LAYOUT(
21 _______, _______, _______, _______,
22 _______, _______, _______, _______,
23 _______, _______, _______, RESET
24 )
25
26};