keymap.c 726 B

1234567891011121314151617181920212223
  1. #include QMK_KEYBOARD_H
  2. #include "jarred.h"
  3. #define LAYOUT_ortho_4x12_wrapper(...) LAYOUT_ortho_4x12(__VA_ARGS__)
  4. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  5. [_QW] = LAYOUT_ortho_4x12_wrapper(QWERTY_4x12),
  6. [_GAME] = LAYOUT_ortho_4x12_wrapper(GAME_4x12),
  7. [_LW] = LAYOUT_ortho_4x12_wrapper(LOWER_4x12),
  8. [_NV] = LAYOUT_ortho_4x12_wrapper(NAV_4x12),
  9. [_NP] = LAYOUT_ortho_4x12_wrapper(NUMPAD_4x12),
  10. [_MS] = LAYOUT_ortho_4x12_wrapper(MOUSE_4x12)
  11. };
  12. #ifdef RGB_MATRIX_ENABLE
  13. bool rgb_matrix_indicators_user(void) {
  14. #ifdef KEYBOARD_planck_light
  15. // Disable light in middle of 2U position of Planck Light
  16. rgb_matrix_set_color(42, 0, 0, 0);
  17. #endif
  18. return false;
  19. }
  20. #endif