Addition of the Binepad BN006 6-key macropad (#18810)

This commit is contained in:
Vino Rodrigues
2022-11-10 08:26:43 +11:00
committed by GitHub
parent c231c5fa4f
commit 84920ff5f4
7 changed files with 217 additions and 0 deletions

View File

@@ -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(
_______, _______, _______,
_______, _______, _______
)
};

View File

@@ -0,0 +1,4 @@
# Copyright 2022 Binepad (@binpad)
# SPDX-License-Identifier: GPL-2.0-or-later
VIA_ENABLE = yes