summaryrefslogtreecommitdiffstats
path: root/keyboards/custommk/ergostrafer/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-06-13 06:33:41 +0000
committerQMK Bot <hello@qmk.fm>2023-06-13 06:33:41 +0000
commitfd2a516f03243009b96f82769a17a5ced7410b5b (patch)
tree201a34f7bd85fe933a692599d27cf4849fe660ca /keyboards/custommk/ergostrafer/keymaps/default/keymap.c
parentf4529eb42b22ba5236f667ae4d0fd3c8255a1fe8 (diff)
parentdabbc93df47815c4df42696de220684edd05f873 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/custommk/ergostrafer/keymaps/default/keymap.c')
-rw-r--r--keyboards/custommk/ergostrafer/keymaps/default/keymap.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/custommk/ergostrafer/keymaps/default/keymap.c b/keyboards/custommk/ergostrafer/keymaps/default/keymap.c
new file mode 100644
index 0000000000..31ceb4f1e6
--- /dev/null
+++ b/keyboards/custommk/ergostrafer/keymaps/default/keymap.c
@@ -0,0 +1,21 @@
+// Copyright 2023 customMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_F9, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_T,
+ KC_PSCR, KC_1, KC_2, KC_3, KC_5, KC_6, KC_G,
+ KC_F5, KC_TAB, KC_Q, KC_4, KC_E, KC_R, KC_B,
+ KC_CAPS, KC_LALT, KC_A, KC_W, KC_D, KC_F, KC_P,
+ KC_LSFT, KC_Z, KC_S, KC_V, KC_SPC,
+ KC_LCTL, KC_X, KC_C, KC_LCTL
+ )
+};
+
+#if defined(ENCODER_MAP_ENABLE)
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
+ [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }
+};
+#endif \ No newline at end of file