mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-25 19:09:54 +00:00
29954efd06
* Matrix refactor * Keymap refactor * Configurator support
20 lines
387 B
C
20 lines
387 B
C
#include QMK_KEYBOARD_H
|
|
|
|
#define _MAIN 0
|
|
#define _FN 1
|
|
|
|
#define _______ KC_TRNS
|
|
#define KC_X0 LT(_FN, KC_ESC)
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
[_MAIN] = LAYOUT(
|
|
KC_VOLU, KC_MPLY, KC_MPRV, KC_PGUP,
|
|
KC_VOLD, KC_MUTE, KC_MNXT, KC_PGDN
|
|
),
|
|
|
|
[_FN] = LAYOUT(
|
|
KC_F, _______, RGB_HUI, _______,
|
|
RGB_TOG, RGB_MOD, RGB_HUD, _______
|
|
)
|
|
};
|