config.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. Copyright 2019 @foostan
  3. Copyright 2020 Drashna Jaelre <@drashna>
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  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. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #pragma once
  16. //#define USE_MATRIX_I2C
  17. #ifdef KEYBOARD_crkbd_rev1_common
  18. # undef USE_I2C
  19. # define USE_SERIAL
  20. #endif
  21. /* Select hand configuration */
  22. #define MASTER_LEFT
  23. // #define MASTER_RIGHT
  24. // #define EE_HANDS
  25. #define USE_SERIAL_PD2
  26. #define TAPPING_FORCE_HOLD
  27. #define TAPPING_TERM 100
  28. #undef RGBLED_NUM
  29. #define RGBLIGHT_ANIMATIONS
  30. #define RGBLED_NUM 27
  31. #define RGBLIGHT_LIMIT_VAL 120
  32. #define RGBLIGHT_HUE_STEP 10
  33. #define RGBLIGHT_SAT_STEP 17
  34. #define RGBLIGHT_VAL_STEP 17
  35. #define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"