summaryrefslogtreecommitdiff
path: root/keyboards/binepad/bn006/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/binepad/bn006/keymaps')
-rwxr-xr-xkeyboards/binepad/bn006/keymaps/default/keymap.c18
-rwxr-xr-xkeyboards/binepad/bn006/keymaps/via/keymap.c33
-rw-r--r--keyboards/binepad/bn006/keymaps/via/rules.mk4
3 files changed, 55 insertions, 0 deletions
diff --git a/keyboards/binepad/bn006/keymaps/default/keymap.c b/keyboards/binepad/bn006/keymaps/default/keymap.c
new file mode 100755
index 0000000000..a79ff505a1
--- /dev/null
+++ b/keyboards/binepad/bn006/keymaps/default/keymap.c
@@ -0,0 +1,18 @@
+/* Copyright 2022 Binepad (@binpad) */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┐
+ * │ A │ B │ C │
+ * ├───┼───┼───┤
+ * │ D │ E │ F │
+ * └───┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_2x3(
+ KC_MPLY, KC_MUTE, KC_VOLU,
+ KC_MPRV, KC_MNXT, KC_VOLD
+ )
+};
diff --git a/keyboards/binepad/bn006/keymaps/via/keymap.c b/keyboards/binepad/bn006/keymaps/via/keymap.c
new file mode 100755
index 0000000000..1ee98f890c
--- /dev/null
+++ b/keyboards/binepad/bn006/keymaps/via/keymap.c
@@ -0,0 +1,33 @@
+/* Copyright 2022 Binepad (@binpad) */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┐
+ * │ A │ B │ C │
+ * ├───┼───┼───┤
+ * │ D │ E │ F │
+ * └───┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_2x3(
+ KC_MPLY, KC_MUTE, KC_VOLU,
+ KC_MPRV, KC_MNXT, KC_VOLD
+ ),
+
+ [1] = LAYOUT_ortho_2x3(
+ _______, _______, _______,
+ _______, _______, _______
+ ),
+
+ [2] = LAYOUT_ortho_2x3(
+ _______, _______, _______,
+ _______, _______, _______
+ ),
+
+ [3] = LAYOUT_ortho_2x3(
+ _______, _______, _______,
+ _______, _______, _______
+ )
+};
diff --git a/keyboards/binepad/bn006/keymaps/via/rules.mk b/keyboards/binepad/bn006/keymaps/via/rules.mk
new file mode 100644
index 0000000000..78ee487f45
--- /dev/null
+++ b/keyboards/binepad/bn006/keymaps/via/rules.mk
@@ -0,0 +1,4 @@
+# Copyright 2022 Binepad (@binpad)
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+VIA_ENABLE = yes