logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

keymap.c (363B)


  1. #include QMK_KEYBOARD_H
  2. #define _MAIN 0
  3. #define _FN 1
  4. #define KC_X0 LT(_FN, KC_ESC)
  5. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  6. [_MAIN] = LAYOUT(
  7. KC_VOLU, KC_MPLY, KC_MPRV, KC_PGUP,
  8. KC_VOLD, KC_MUTE, KC_MNXT, KC_PGDN
  9. ),
  10. [_FN] = LAYOUT(
  11. KC_F, _______, UG_HUEU, _______,
  12. UG_TOGG, UG_NEXT, UG_HUED, _______
  13. )
  14. };