mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-29 14:40:38 +00:00
29 lines
688 B
C
29 lines
688 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_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
|