config.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. This is the c configuration file for the keymap
  3. Copyright 2012 Jun Wako <wakojun@gmail.com>
  4. Copyright 2015 Jack Humbert
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  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. // #define USE_MATRIX_I2C
  18. // #define USE_I2C
  19. /* Select hand configuration */
  20. #define MASTER_LEFT
  21. // #define MASTER_RIGHT
  22. // #define EE_HANDS
  23. // #define SSD1306OLED
  24. #define USE_SERIAL_PD2
  25. #define TAPPING_FORCE_HOLD
  26. /* define tapping term */
  27. #define TAPPING_TERM 200
  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 ENCODERS_PAD_A { F4 }
  36. #define ENCODERS_PAD_B { F5 }
  37. /* Set 0 if debouncing isn't needed */
  38. #define DEBOUNCE 5
  39. // Underglow
  40. /*
  41. #undef RGBLED_NUM
  42. #define RGBLED_NUM 14 // Number of LEDs
  43. #define RGBLIGHT_ANIMATIONS
  44. #define RGBLIGHT_SLEEP
  45. */