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.

55 lines
1.8 KiB

  1. /* Copyright 2019 Thomas Baart <thomas@splitkb.com>
  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. #ifdef OLED_ENABLE
  18. # define OLED_DISPLAY_128X64
  19. # define OLED_TIMEOUT 300000
  20. # define OLED_UPDATE_INTERVAL 30
  21. #endif
  22. #ifdef RGBLIGHT_ENABLE
  23. # define RGBLIGHT_LIMIT_VAL 150
  24. # define RGBLIGHT_ANIMATIONS
  25. # define RGBLIGHT_HUE_STEP 8
  26. # define RGBLIGHT_SAT_STEP 8
  27. # define RGBLIGHT_VAL_STEP 8
  28. # define RGBLIGHT_SLEEP
  29. #endif
  30. // If you are using an Elite C rev3 on the slave side, uncomment the lines below:
  31. //#define SPLIT_USB_DETECT
  32. //#define NO_USB_STARTUP_CHECK
  33. // Set the layer toggle to only need 2 clicks instead of 5
  34. #define TAPPING_TOGGLE 2
  35. // EC11K encoders have a different resolution than other EC11 encoders.
  36. #define ENCODER_RESOLUTION 2
  37. // The Leader key allows to flexibly assign macros to key sequences.
  38. #define LEADER_PER_KEY_TIMING
  39. #define LEADER_TIMEOUT 350
  40. #define TAPPING_TERM 200
  41. // Allows to use either side as the master. Look at the documentation for info:
  42. // https://docs.qmk.fm/#/config_options?id=setting-handedness
  43. #define EE_HANDS
  44. // Allows media codes to properly register in macros and rotary encoder code
  45. #define TAP_CODE_DELAY 10