config.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Copyright (C) 2021 Jerrell, Jacob <@jjerrell>
  2. //
  3. // This file is part of qmk_firmware.
  4. //
  5. // qmk_firmware 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 3 of the License, or
  8. // (at your option) any later version.
  9. //
  10. // qmk_firmware is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. // GNU General Public License for more details.
  14. //
  15. // You should have received a copy of the GNU General Public License
  16. // along with qmk_firmware. If not, see <http://www.gnu.org/licenses/>.
  17. #pragma once
  18. // Allows time for repositioning hands due to awkward key placement
  19. #define LEADER_NO_TIMEOUT
  20. #ifdef AUDIO_ENABLE
  21. #define STARTUP_SONG SONG(PLANCK_SOUND)
  22. // #define STARTUP_SONG SONG(NO_SOUND)
  23. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  24. SONG(COLEMAK_SOUND), \
  25. SONG(DVORAK_SOUND) \
  26. }
  27. #endif
  28. #ifdef KEYBOARD_planck_ez_glow
  29. #undef PRODUCT
  30. #define PRODUCT Planck EZ Glow - Modified by <@jjerrell>
  31. #endif
  32. /*
  33. * MIDI options
  34. */
  35. /* enable basic MIDI features:
  36. - MIDI notes can be sent when in Music mode is on
  37. */
  38. #define MIDI_BASIC
  39. /* enable advanced MIDI features:
  40. - MIDI notes can be added to the keymap
  41. - Octave shift and transpose
  42. - Virtual sustain, portamento, and modulation wheel
  43. - etc.
  44. */
  45. //#define MIDI_ADVANCED
  46. // Most tactile encoders have detents every 4 stages
  47. #define ENCODER_RESOLUTION 4