qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

keymap.c (597B)


      1 #include QMK_KEYBOARD_H
      2 
      3 // Each layer gets a name for readability, which is then used in the keymap matrix below.
      4 // The underscores don't mean anything - you can have a layer called STUFF or any other name.
      5 // Layer names don't all need to be of the same length, obviously, and you can also skip them
      6 // entirely and just use numbers.
      7 
      8 #define _NP 0
      9 
     10 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
     11   [_NP] = LAYOUT_numpad_4x4( /* Numpad */
     12     KC_P7, KC_P8,   KC_P9,   KC_PPLS,
     13     KC_P4, KC_P5,   KC_P6,
     14     KC_P1, KC_P2,   KC_P3,   KC_PENT,
     15     KC_P0,          KC_PDOT
     16   ),
     17 };