You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

keymap_plain.h 983B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifdef KEYMAP_SECTION_ENABLE
  2. const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] __attribute__ ((section (".keymap.keymaps"))) = {
  3. #else
  4. static const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = {
  5. #endif
  6. /* Keymap 0: Default Layer
  7. * ,---------------.
  8. * |Esc|Tab|= |Bs |
  9. * |---+---+---+---|
  10. * |Num|/ |* |- |
  11. * |---+---+---+---|
  12. * |7 |8 |9 |+ |
  13. * |---+---+---| |
  14. * |4 |5 |6 | |
  15. * |---+---+---+---|
  16. * |1 |2 |3 |Ent|
  17. * |---+---+---| |
  18. * |0 |. | |
  19. * `---------------'
  20. */
  21. [0] = KEYMAP(
  22. ESC, TAB, PEQL,BSPC, \
  23. NLCK,PSLS,PAST,PMNS, \
  24. P7, P8, P9, PPLS, \
  25. P4, P5, P6, PENT, \
  26. P1, P2, P3, PENT, \
  27. P0, NO, PDOT,NO)
  28. };
  29. /*
  30. * Fn action definition
  31. */
  32. #ifdef KEYMAP_SECTION_ENABLE
  33. const uint16_t fn_actions[] __attribute__ ((section (".keymap.fn_actions"))) = {
  34. #else
  35. static const uint16_t fn_actions[] PROGMEM = {
  36. #endif
  37. };