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.

111 lines
8.9 KiB

  1. /* Copyright 2020 Brandon Schlack
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #include QMK_KEYBOARD_H
  17. #include "brandonschlack.h"
  18. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  19. /* Base Layer
  20. *
  21. * Tab Q W E R T Y U I O P Bspc
  22. *
  23. * HyEsc A S D F G H J K L Enter
  24. *
  25. * Shift Z X C V B N M < ,> . ?/Sft
  26. *
  27. * CtrlOptCmd Space  CmdOpt Lwr
  28. *
  29. */
  30. [_BASE] = LAYOUT_ansi_40(
  31. KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
  32. HY_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
  33. KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, SF_SLSH,
  34. KC_LCTL, KC_LOPT, KC_LCMD, SPC_RAI, KC_RCMD, KC_ROPT, LOWER
  35. ),
  36. /* Lower
  37. *
  38. * Del BrDBrUMsnLHP         PgUHomEnd SlpD
  39. *
  40. * HyCapsMutVlUNxWPvTBckFwdNxTPgD   Play
  41. *
  42. * PrvVlDNxt1PX1Ps         
  43. *
  44. *
  45. *
  46. */
  47. [_LOWER] = LAYOUT_ansi_40(
  48. KC_DEL, KC_BRMD, KC_BRMU, MC_MSSN, MC_LHPD, _______, _______, _______, KC_PGUP, KC_HOME, KC_END, MC_SLPD,
  49. HY_CAPS, KC_MUTE, KC_VOLU, NXT_WIN, PRV_TAB, MC_BACK, MC_FWRD, NXT_TAB, KC_PGDN, KC_UP, KC_MPLY,
  50. _______, KC_MPRV, KC_VOLD, KC_MNXT, PX_AFLL, OP_AFLL, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______,
  51. _______, _______, _______, _______, _______, _______, _______
  52. ),
  53. /* Raise
  54. *
  55. * ~ `  ! 1@ 2# 3$ 4% 5^ 6& 7* 8( 9) 0
  56. *
  57. *       F1 F2 F3 F4 F5 F6_ -+ =: ; " '│
  58. *
  59. *  F7 F8 F9F10F11F12   { [} ] |\Sft
  60. *
  61. *            
  62. *
  63. */
  64. [_RAISE] = LAYOUT_ansi_40(
  65. KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
  66. _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_SCLN, KC_QUOT,
  67. _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_LBRC, KC_RBRC, SF_BSLS,
  68. _______, _______, _______, _______, _______, _______, _______
  69. ),
  70. /* Adjust/Macro Layer
  71. *
  72. * Make       EEPRST     
  73. *
  74. *
  75. *
  76. *
  77. *
  78. *
  79. *
  80. */
  81. [_ADJUST] = LAYOUT_ansi_40(
  82. QM_MAKE, _______, _______, EE_CLR, QK_BOOT, _______, _______, _______, _______, _______, _______, _______,
  83. _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
  84. _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
  85. _______, _______, _______, _______, _______, _______, _______
  86. )
  87. /* Blank Layer
  88. *
  89. *
  90. *
  91. *
  92. *
  93. *
  94. *
  95. *
  96. *
  97. */
  98. /*
  99. [BLANK] = LAYOUT_ansi_40(
  100. _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
  101. _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
  102. _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
  103. _______, _______, _______, _______, _______, _______, _______
  104. )
  105. */
  106. };
  107. layer_state_t layer_state_set_keymap(layer_state_t state) {
  108. return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
  109. }