config.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #ifndef ERGODOX_ERGODONE_CONFIG_H
  2. #define ERGODOX_ERGODONE_CONFIG_H
  3. #include "../config.h"
  4. #include "config_common.h"
  5. /* USB Device descriptor parameter */
  6. #define VENDOR_ID 0xFEED
  7. #define PRODUCT_ID 0x1307
  8. #define DEVICE_VER 0x0001
  9. #define MANUFACTURER ErgoDone
  10. #define PRODUCT ErgoDone
  11. #define DESCRIPTION QMK keyboard firmware for ErgoDone
  12. /* key matrix size */
  13. #define MATRIX_ROWS 6
  14. #define MATRIX_COLS 14
  15. /* number of backlight levels */
  16. #define BACKLIGHT_LEVELS 3
  17. #define LED_BRIGHTNESS_LO 15
  18. #define LED_BRIGHTNESS_HI 255
  19. /* fix space cadet rollover issue */
  20. #define DISABLE_SPACE_CADET_ROLLOVER
  21. /* Set 0 if debouncing isn't needed */
  22. #define DEBOUNCE 5
  23. #define PREVENT_STUCK_MODIFIERS
  24. #define USB_MAX_POWER_CONSUMPTION 500
  25. /*
  26. * Feature disable options
  27. * These options are also useful to firmware size reduction.
  28. */
  29. /* disable debug print */
  30. // #define NO_DEBUG
  31. /* disable print */
  32. // #define NO_PRINT
  33. /* disable action features */
  34. //#define NO_ACTION_LAYER
  35. //#define NO_ACTION_TAPPING
  36. //#define NO_ACTION_ONESHOT
  37. //#define NO_ACTION_MACRO
  38. //#define NO_ACTION_FUNCTION
  39. //#define DEBUG_MATRIX_SCAN_RATE
  40. #endif