config.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #include "../../config.h"
  4. /*
  5. * MIDI options
  6. */
  7. /* Prevent use of disabled MIDI features in the keymap */
  8. //#define MIDI_ENABLE_STRICT 1
  9. /* enable basic MIDI features:
  10. - MIDI notes can be sent when in Music mode is on
  11. */
  12. #define MIDI_BASIC
  13. /* enable advanced MIDI features:
  14. - MIDI notes can be added to the keymap
  15. - Octave shift and transpose
  16. - Virtual sustain, portamento, and modulation wheel
  17. - etc.
  18. */
  19. //#define MIDI_ADVANCED
  20. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  21. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  22. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  23. //#define LOCKING_SUPPORT_ENABLE
  24. #undef LOCKING_SUPPORT_ENABLE
  25. /* Locking resynchronize hack */
  26. //#define LOCKING_RESYNC_ENABLE
  27. #undef LOCKING_RESYNC_ENABLE
  28. /* key combination for command */
  29. #define IS_COMMAND() ( \
  30. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  31. )
  32. /*
  33. * Feature disable options
  34. * These options are also useful to firmware size reduction.
  35. */
  36. /* disable debug print */
  37. //#define NO_DEBUG
  38. /* disable print */
  39. //#define NO_PRINT
  40. #undef NO_PRINT
  41. /* disable action features */
  42. //#define NO_ACTION_LAYER
  43. #define NO_ACTION_TAPPING
  44. //#define NO_ACTION_ONESHOT
  45. #define NO_ACTION_MACRO
  46. #define NO_ACTION_FUNCTION
  47. //#define DYNAMIC_MACRO_ENABLE // Enable if you need to use the macro functionality
  48. //#define SPACE_CADET // Parenthesis on L/R shift
  49. #endif