logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (1215B)


  1. /*
  2. Copyright 2021 Stefan Sundin "4pplet" <4pplet@protonmail.com>
  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. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. #define BACKLIGHT_PWM_DRIVER PWMD2
  16. #define BACKLIGHT_PWM_CHANNEL 4
  17. /* Underglow */
  18. #define WS2812_SPI_DRIVER SPID1
  19. #define WS2812_SPI_MOSI_PAL_MODE 0
  20. #define WS2812_SPI_SCK_PIN A5
  21. #define WS2812_SPI_SCK_PAL_MODE 0
  22. /* Indicator leds */
  23. #define LOCK_LIGHTS TRUE
  24. #define DISPLAY_LAYERS TRUE
  25. #define CAPS_PIN B2
  26. #define NUM_PIN B12
  27. #define SCROLL_PIN B13
  28. #define LAYER_1 B14
  29. #define LAYER_2 B15
  30. #define LAYER_3 A8
  31. #define LAYER_4 A9
  32. #define LAYER_5 B9