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.

69 lines
2.1 KiB

  1. /*
  2. * Copyright 2018 Jack Humbert <jack.humb@gmail.com>
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. #ifdef AUDIO_ENABLE
  19. #define STARTUP_SONG SONG(PLANCK_SOUND)
  20. // #define STARTUP_SONG SONG(NO_SOUND)
  21. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  22. SONG(COLEMAK_SOUND), \
  23. SONG(DVORAK_SOUND), \
  24. SONG(WORKMAN_SOUND), \
  25. SONG(PLOVER_SOUND), \
  26. SONG(STARTUP_SOUND), \
  27. SONG(PREONIC_SOUND), \
  28. SONG(GOODBYE_SOUND), \
  29. }
  30. #endif
  31. /*
  32. * MIDI options
  33. */
  34. /* enable basic MIDI features:
  35. - MIDI notes can be sent when in Music mode is on
  36. */
  37. #define MIDI_BASIC
  38. /* enable advanced MIDI features:
  39. - MIDI notes can be added to the keymap
  40. - Octave shift and transpose
  41. - Virtual sustain, portamento, and modulation wheel
  42. - etc.
  43. */
  44. //#define MIDI_ADVANCED
  45. // Most tactile encoders have detents every 4 stages
  46. #define ENCODER_RESOLUTION 4
  47. // settings for HOME ROW MODS
  48. #define TAPPING_TERM 160 // 200 ms is the default value
  49. #define TAPPING_TERM_PER_KEY
  50. //#define PERMISSIVE_HOLD
  51. #define IGNORE_MOD_TAP_INTERRUPT
  52. #define TAPPING_FORCE_HOLD_PER_KEY
  53. // settings for LEADER key
  54. #define LEADER_PER_KEY_TIMING
  55. #define LEADER_TIMEOUT 250
  56. #define LEADER_NO_TIMEOUT
  57. #define RGBLIGHT_SLEEP // RGB lighting will switch off when the host goes to sleep
  58. #define RGBLIGHT_LAYERS