mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-04 14:44:16 -04:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
b75b5575af
2 changed files with 30 additions and 0 deletions
28
keyboards/binepad/bnk9/keymaps/via/keymap.c
Normal file
28
keyboards/binepad/bnk9/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Copyright 2023 Binepad (@binpad)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_MUTE,
|
||||
KC_P1, KC_P2, KC_P3,
|
||||
KC_P4, KC_P5, KC_P6,
|
||||
KC_P7, KC_P8, LT(1, KC_P9)
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
RGB_TOG,
|
||||
RGB_HUI, RGB_SAI, RGB_SPI,
|
||||
RGB_HUD, RGB_SAD, RGB_SPD,
|
||||
RGB_RMOD, RGB_MOD, _______
|
||||
)
|
||||
};
|
||||
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[1] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) }
|
||||
};
|
||||
|
||||
#endif
|
2
keyboards/binepad/bnk9/keymaps/via/rules.mk
Normal file
2
keyboards/binepad/bnk9/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
Loading…
Add table
Add a link
Reference in a new issue