keymap.c 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. /* Copyright 2018 Jarred Steenvoorden
  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 "planck.h"
  17. #include "jarred.h"
  18. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  19. [_QW] = LAYOUT_planck_grid_wrapper(QWERTY_4x12),
  20. [_LW] = LAYOUT_planck_grid_wrapper(LOWER_4x12),
  21. [_NV] = LAYOUT_planck_grid_wrapper(NAV_4x12),
  22. [_NP] = LAYOUT_planck_grid_wrapper(NUMPAD_4x12),
  23. [_MS] = LAYOUT_planck_grid_wrapper(MOUSE_4x12)
  24. };
  25. #ifdef RGB_MATRIX_H
  26. void rgb_matrix_indicators_user(void) {
  27. // Disable light in middle of 2U position
  28. rgb_matrix_set_color(42, 0, 0, 0);
  29. }
  30. #endif