config.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #pragma once
  2. #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
  3. #define RGB_DI_PIN D3
  4. #define RGBLED_NUM 16 // Number of LEDs
  5. #define RGBLIGHT_HUE_STEP 12
  6. #define RGBLIGHT_SAT_STEP 12
  7. #define RGBLIGHT_VAL_STEP 12
  8. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  9. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
  10. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  11. #endif // RGBLIGHT_ENABLE
  12. #ifdef RGB_MATRIX_ENABLE
  13. #define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot)
  14. // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened)
  15. // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
  16. // #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
  17. // #define RGB_MATRIX_SKIP_FRAMES 1 // number of frames to skip when displaying animations (0 is full effect) if not defined defaults to 1
  18. // #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
  19. // #define EECONFIG_RGB_MATRIX (uint32_t *)16
  20. #endif
  21. #if defined(KEYBOARD_lets_split_rev2)
  22. #define USE_SERIAL
  23. #undef USE_I2C
  24. #define EE_HANDS
  25. #endif
  26. #if !defined(KEYBOARD_planck_light)
  27. #ifdef RGBLIGHT_ENABLE
  28. #define NO_MUSIC_MODE
  29. #endif // RGBLIGHT_ENABLE
  30. #endif // KEYBOARD_planck_light
  31. /*
  32. * MIDI options
  33. */
  34. /* Prevent use of disabled MIDI features in the keymap */
  35. //#define MIDI_ENABLE_STRICT 1
  36. /* enable basic MIDI features:
  37. - MIDI notes can be sent when in Music mode is on
  38. */
  39. #define MIDI_BASIC
  40. /* enable advanced MIDI features:
  41. - MIDI notes can be added to the keymap
  42. - Octave shift and transpose
  43. - Virtual sustain, portamento, and modulation wheel
  44. - etc.
  45. */
  46. //#define MIDI_ADVANCED
  47. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  48. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  49. #define TAP_CODE_DELAY 10