config.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #pragma once
  2. /* key matrix size */
  3. #define MATRIX_ROWS 6
  4. #define MATRIX_COLS 14
  5. #define MOUSEKEY_INTERVAL 20
  6. #define MOUSEKEY_DELAY 0
  7. #define MOUSEKEY_TIME_TO_MAX 60
  8. #define MOUSEKEY_MAX_SPEED 7
  9. #define MOUSEKEY_WHEEL_DELAY 0
  10. #define TAPPING_TOGGLE 1
  11. #define TAPPING_TERM 200
  12. #define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
  13. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  14. #define LOCKING_SUPPORT_ENABLE
  15. /* Locking resynchronize hack */
  16. #define LOCKING_RESYNC_ENABLE
  17. /* key combination for command */
  18. #ifndef IS_COMMAND
  19. #define IS_COMMAND() ( \
  20. get_mods() == MOD_MASK_CTRL || \
  21. get_mods() == MOD_MASK_SHIFT \
  22. )
  23. #endif
  24. #define LED_BRIGHTNESS_LO 15
  25. #define LED_BRIGHTNESS_HI 255
  26. /* fix space cadet rollover issue */
  27. #define DISABLE_SPACE_CADET_ROLLOVER
  28. #define USB_MAX_POWER_CONSUMPTION 500
  29. /*
  30. * Feature disable options
  31. * These options are also useful to firmware size reduction.
  32. */
  33. /* disable debug print */
  34. // #define NO_DEBUG
  35. /* disable print */
  36. // #define NO_PRINT
  37. /* disable action features */
  38. //#define NO_ACTION_LAYER
  39. //#define NO_ACTION_TAPPING
  40. //#define NO_ACTION_ONESHOT
  41. //#define DEBUG_MATRIX_SCAN_RATE