mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-16 22:53:22 +00:00
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
|