diff options
author | Vino Rodrigues <366673+vinorodrigues@users.noreply.github.com> | 2022-11-10 08:26:43 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 21:26:43 +0000 |
commit | 84920ff5f4c1dfb3c84ca175899f81804be30396 (patch) | |
tree | dcadc8b2477849dbfb60215e34df5fc88eed296a /keyboards/binepad/bn006/keymaps/via | |
parent | c231c5fa4fb8c91dcaf7dca70461e24ffa4aceb5 (diff) |
Addition of the Binepad BN006 6-key macropad (#18810)
Diffstat (limited to 'keyboards/binepad/bn006/keymaps/via')
-rwxr-xr-x | keyboards/binepad/bn006/keymaps/via/keymap.c | 33 | ||||
-rw-r--r-- | keyboards/binepad/bn006/keymaps/via/rules.mk | 4 |
2 files changed, 37 insertions, 0 deletions
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 |