keymap.c 673 B

123456789101112131415161718192021222324
  1. #include QMK_KEYBOARD_H
  2. extern keymap_config_t keymap_config;
  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. #define _DEFAULT 0
  8. #define _LOWER 1
  9. #define LOWER LT(_LOWER, KC_PENT)
  10. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  11. [_DEFAULT] = LAYOUT_ortho_1x4 (
  12. LOWER, KC_P0, KC_PDOT,KC_PAST
  13. ),
  14. /* Lower */
  15. [_LOWER] = LAYOUT_ortho_1x4 (
  16. _______,_______,_______,_______
  17. ),
  18. };