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.

62 lines
2.0 KiB

  1. /*
  2. * ai03 Soyuz VIA Keymap
  3. *
  4. * Copyright (C) 2020 Sendy YK <https://mr.sendyyk.com>
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  18. */
  19. #include QMK_KEYBOARD_H
  20. enum layer_names {
  21. _BASE, // Default Layer
  22. _FN, // Fn Layer 1
  23. _FN2, // Fn Layer 2
  24. _FN3 // Fn Layer 3
  25. };
  26. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  27. // Default Layer
  28. [_BASE] = LAYOUT_ortho_5x4(
  29. KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
  30. KC_P7, KC_P8, KC_P9, KC_PPLS,
  31. KC_P4, KC_P5, KC_P6, KC_PPLS,
  32. KC_P1, KC_P2, KC_P3, KC_PENT,
  33. KC_P0, KC_P0, KC_PDOT, KC_PENT
  34. ),
  35. // Fn Layer 1
  36. [_FN] = LAYOUT_ortho_5x4(
  37. _______, _______, _______, _______,
  38. _______, _______, _______, _______,
  39. _______, _______, _______, _______,
  40. _______, _______, _______, _______,
  41. _______, _______, _______, _______
  42. ),
  43. // Fn Layer 2
  44. [_FN2] = LAYOUT_ortho_5x4(
  45. _______, _______, _______, _______,
  46. _______, _______, _______, _______,
  47. _______, _______, _______, _______,
  48. _______, _______, _______, _______,
  49. _______, _______, _______, _______
  50. ),
  51. // Fn Layer 3
  52. [_FN3] = LAYOUT_ortho_5x4(
  53. _______, _______, _______, _______,
  54. _______, _______, _______, _______,
  55. _______, _______, _______, _______,
  56. _______, _______, _______, _______,
  57. _______, _______, _______, _______
  58. )
  59. };