qmk

QMK Firmware
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

keymap.c (363B)


      1 #include QMK_KEYBOARD_H
      2 
      3 #define _MAIN 0
      4 #define _FN 1
      5 
      6 #define KC_X0 LT(_FN, KC_ESC)
      7 
      8 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
      9   [_MAIN] = LAYOUT(
     10      KC_VOLU, KC_MPLY, KC_MPRV, KC_PGUP,
     11      KC_VOLD, KC_MUTE, KC_MNXT, KC_PGDN
     12   ),
     13 
     14   [_FN] = LAYOUT(
     15      KC_F,    _______, RGB_HUI, _______,
     16      RGB_TOG, RGB_MOD, RGB_HUD, _______
     17   )
     18 };