config.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. #ifndef CONFIG_USER_H
  17. #define CONFIG_USER_H
  18. #include "../../config.h"
  19. /* Use I2C or Serial, not both */
  20. #define USE_SERIAL
  21. // #define USE_I2C
  22. /* Select hand configuration */
  23. // #define MASTER_LEFT
  24. // #define MASTER_RIGHT
  25. #define EE_HANDS
  26. #ifdef SUBPROJECT_rev2
  27. /* RGB Underglow */
  28. #undef RGBLED_NUM
  29. #define RGBLIGHT_ANIMATIONS
  30. #define RGBLED_NUM 8
  31. #endif
  32. #undef TAPPING_TERM
  33. #define TAPPING_TERM 200 //At 500 some bad logic takes hold
  34. #define PREVENT_STUCK_MODIFIERS
  35. #define IGNORE_MOD_TAP_INTERRUPT
  36. #define PERMISSIVE_HOLD
  37. #endif