1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include QMK_KEYBOARD_H #define _MAIN 0 #define _FN 1 #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, _______ ) };