forked from forks/qmk_firmware
23 lines
465 B
C
23 lines
465 B
C
|
// 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_MPLY,
|
||
|
KC_MPRV, KC_MNXT
|
||
|
)
|
||
|
};
|
||
|
|
||
|
#if defined(ENCODER_MAP_ENABLE)
|
||
|
|
||
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||
|
[0] = {
|
||
|
ENCODER_CCW_CW(KC_VOLD, KC_VOLU),
|
||
|
ENCODER_CCW_CW(KC_WH_U, KC_WH_D)
|
||
|
}
|
||
|
};
|
||
|
|
||
|
#endif
|