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.

61 lines
1.7 KiB

  1. /* Copyright 2021 UTDKeyboard & Dominic Gan
  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. #pragma once
  17. #include "config_common.h"
  18. /* key matrix size */
  19. #define MATRIX_ROWS 6
  20. #define MATRIX_COLS 16
  21. // ROWS: Top to bottom, COLS: Left to right
  22. #define MATRIX_ROW_PINS { B4, D5, D0, B2, B3, B0 }
  23. #define MATRIX_COL_PINS { B1, F0, F1, F4, F5, F6, F7, C7, C6, D3, E6, D7, D6, D4, D2, D1 }
  24. #define UNUSED_PINS
  25. #define BACKLIGHT_PIN B7
  26. #define BACKLIGHT_BREATHING
  27. #ifdef BACKLIGHT_PIN
  28. #define BACKLIGHT_LEVELS 3
  29. #endif
  30. /* COL2ROW or ROW2COL */
  31. #define DIODE_DIRECTION COL2ROW
  32. #define LED_CAPS_LOCK_PIN B6
  33. #define LED_SCROLL_LOCK_PIN B5
  34. /* define if matrix has ghost */
  35. //#define MATRIX_HAS_GHOST
  36. /* Set 0 if debouncing isn't needed */
  37. #define DEBOUNCE 5
  38. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  39. #define LOCKING_SUPPORT_ENABLE
  40. /* Locking resynchronize hack */
  41. #define LOCKING_RESYNC_ENABLE
  42. #define RGB_DI_PIN E2
  43. #ifdef RGB_DI_PIN
  44. #define RGBLIGHT_ANIMATIONS
  45. #define RGBLED_NUM 4
  46. #define RGBLIGHT_HUE_STEP 8
  47. #define RGBLIGHT_SAT_STEP 8
  48. #define RGBLIGHT_VAL_STEP 8
  49. #endif