config.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /* Copyright 2021 Carlos Martins
  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. /* The way how "handedness" is decided (which half is which),
  18. see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness
  19. for more options.
  20. */
  21. #define RGB_DI_PIN D3
  22. #ifdef RGB_MATRIX_ENABLE
  23. #define RGBLED_NUM 72
  24. #define DRIVER_LED_TOTAL RGBLED_NUM
  25. #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
  26. #define RGB_MATRIX_HUE_STEP 8
  27. #define RGB_MATRIX_SAT_STEP 8
  28. #define RGB_MATRIX_VAL_STEP 8
  29. #define RGB_MATRIX_SPD_STEP 10
  30. #define RGB_MATRIX_KEYPRESSES
  31. #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  32. #define RGB_MATRIX_SPLIT {36,36}
  33. #define SPLIT_TRANSPORT_MIRROR
  34. #endif
  35. #ifdef RGBLIGHT_ENABLE
  36. #define RGBLIGHT_SPLIT
  37. #define RGBLED_NUM 70
  38. #define RGB_SPLIT {36,36}
  39. #define RGBLIGHT_LIMIT_VAL 120
  40. // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  41. // /*== all animations enable ==*/
  42. // #define RGBLIGHT_ANIMATIONS
  43. // /*== or choose animations ==*/
  44. // #define RGBLIGHT_EFFECT_BREATHING
  45. //#define RGBLIGHT_EFFECT_RAINBOW_MOOD
  46. //#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  47. // #define RGBLIGHT_EFFECT_SNAKE
  48. // #define RGBLIGHT_EFFECT_KNIGHT
  49. // #define RGBLIGHT_EFFECT_CHRISTMAS
  50. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  51. #define RGBLIGHT_EFFECT_RGB_TEST
  52. // #define RGBLIGHT_EFFECT_ALTERNATING
  53. #endif
  54. #define MEDIA_KEY_DELAY 2
  55. #define USB_POLLING_INTERVAL_MS 1
  56. #define QMK_KEYS_PER_SCAN 12