config.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Copyright 2021 Valdydesu_
  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 1
  20. #define MATRIX_COLS 6
  21. /* key matrix pins */
  22. #define MATRIX_ROW_PINS { B6 }
  23. #define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5}
  24. #define UNUSED_PINS
  25. #define ENCODERS_PAD_A { E6 }
  26. #define ENCODERS_PAD_B { D1 }
  27. #define TAP_CODE_DELAY 10
  28. /* COL2ROW or ROW2COL */
  29. #define DIODE_DIRECTION COL2ROW
  30. #define BOOTMAGIC_LITE_ROW 0
  31. #define BOOTMAGIC_LITE_COLUMN 5
  32. /* number of backlight levels */
  33. #ifdef BACKLIGHT_PIN
  34. #define BACKLIGHT_LEVELS 0
  35. #endif
  36. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  37. #define LOCKING_SUPPORT_ENABLE
  38. /* Locking resynchronize hack */
  39. #define LOCKING_RESYNC_ENABLE
  40. // EEPROM usage
  41. #ifdef RGB_DI_PIN
  42. #define RGBLIGHT_ANIMATIONS
  43. #define RGBLED_NUM 0
  44. #define RGBLIGHT_HUE_STEP 8
  45. #define RGBLIGHT_SAT_STEP 8
  46. #define RGBLIGHT_VAL_STEP 8
  47. #endif