summaryrefslogtreecommitdiff
path: root/keyboards/alhenkb/macropad5x4/keymaps/via/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/alhenkb/macropad5x4/keymaps/via/keymap.c')
-rw-r--r--keyboards/alhenkb/macropad5x4/keymaps/via/keymap.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/alhenkb/macropad5x4/keymaps/via/keymap.c b/keyboards/alhenkb/macropad5x4/keymaps/via/keymap.c
new file mode 100644
index 0000000000..12a878346e
--- /dev/null
+++ b/keyboards/alhenkb/macropad5x4/keymaps/via/keymap.c
@@ -0,0 +1,27 @@
+// Copyright 2023 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┬───┐
+ * │ 1 │ 2 │ 3 │ 4 │
+ * ├───┼───┼───┼───┤
+ * │ 5 │ 6 │ 7 │ 8 │
+ * ├───┼───┼───┼───┤
+ * │ Q │ W │ E │ R │
+ * ├───┼───┼───┼───┤
+ * │ A │ S │ D │ F │
+ * ├───┼───┼───┼───┤
+ * │ Z │ X │ C │ V │
+ * └───────┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_5x4(
+ KC_P1, KC_P2, KC_P3, KC_P4,
+ KC_P5, KC_P6, KC_P7, KC_P8,
+ KC_Q, KC_W, KC_E, KC_R,
+ KC_A, KC_S, KC_D, KC_F,
+ KC_Z, KC_X, KC_C, KC_V
+ ),
+};