~ruther/qmk_firmware

ref: 032b039d0bf96e4fea0b87e0d2f6cd0fb34b7298 qmk_firmware/keyboards/binepad/pixie/keymaps/via/keymap.c -rw-r--r-- 465 bytes
032b039d — Duncan Sutherland amend alice* community_layouts in keyboards (#21846) 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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
Do not follow this link