logo

qmk_firmware

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

keymap.c (597B)


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