Peter's keyboard firmware (QMK) https://qmk.fm/
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.

config.h 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #pragma once
  2. #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
  3. #define RGB_DI_PIN B3
  4. #define RGBLED_NUM 13 // Number of LEDs
  5. #define RGBLIGHT_ANIMATIONS
  6. #define RGBLIGHT_HUE_STEP 12
  7. #define RGBLIGHT_SAT_STEP 12
  8. #define RGBLIGHT_VAL_STEP 12
  9. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  10. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
  11. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  12. #endif // RGBLIGHT_ENABLE
  13. #ifdef RGB_MATRIX_ENABLE
  14. #define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot)
  15. // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened)
  16. // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
  17. #define RGB_DISABLE_WHEN_USB_SUSPENDED true// turn off effects when suspended
  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 *)15
  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. #if defined(KEYBOARD_planck)
  32. #undef PRODUCT
  33. #if defined(KEYBOARD_planck_light)
  34. #define PRODUCT Drashna Hacked RGB Beacon (Planck Light)
  35. #elif defined(KEYBOARD_planck_rev6)
  36. #define PRODUCT Drashna Hacked Planck Rev6
  37. #elif defined(KEYBOARD_planck_EZ)
  38. #define PRODUCT Drashna Hacked Planck EZ
  39. #endif
  40. #endif
  41. /*
  42. * MIDI options
  43. */
  44. /* Prevent use of disabled MIDI features in the keymap */
  45. //#define MIDI_ENABLE_STRICT 1
  46. /* enable basic MIDI features:
  47. - MIDI notes can be sent when in Music mode is on
  48. */
  49. #define MIDI_BASIC
  50. /* enable advanced MIDI features:
  51. - MIDI notes can be added to the keymap
  52. - Octave shift and transpose
  53. - Virtual sustain, portamento, and modulation wheel
  54. - etc.
  55. */
  56. //#define MIDI_ADVANCED
  57. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  58. //#define MIDI_TONE_KEYCODE_OCTAVES 2