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.

81 lines
2.2 KiB

  1. #ifndef ERGODOX_ERGODONE_CONFIG_H
  2. #define ERGODOX_ERGODONE_CONFIG_H
  3. #include "config_common.h"
  4. /* USB Device descriptor parameter */
  5. #define VENDOR_ID 0xFEED // You may want to use 0x47EC for "KTEC", which doesn't seem to be in official use as of October 2017.
  6. #define PRODUCT_ID 0xE60D // For "EGOD"/"ErgoDone".
  7. // The official ErgoDone VID and PID are documented at http://pid.codes/1209/2328/.
  8. #define DEVICE_VER 0x0001
  9. #define MANUFACTURER K.T.E.C.
  10. #define PRODUCT ErgoDone
  11. /* key matrix size */
  12. #define MATRIX_ROWS 6
  13. #define MATRIX_COLS 14
  14. #define MOUSEKEY_INTERVAL 20
  15. #define MOUSEKEY_DELAY 0
  16. #define MOUSEKEY_TIME_TO_MAX 60
  17. #define MOUSEKEY_MAX_SPEED 7
  18. #define MOUSEKEY_WHEEL_DELAY 0
  19. #define TAPPING_TOGGLE 1
  20. /* define if matrix has ghost */
  21. //#define MATRIX_HAS_GHOST
  22. #define TAPPING_TERM 200
  23. #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.)
  24. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  25. #define LOCKING_SUPPORT_ENABLE
  26. /* Locking resynchronize hack */
  27. #define LOCKING_RESYNC_ENABLE
  28. /* key combination for command */
  29. #define IS_COMMAND() ( \
  30. get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
  31. get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
  32. )
  33. /* number of backlight levels */
  34. #define BACKLIGHT_LEVELS 3
  35. #define LED_BRIGHTNESS_LO 15
  36. #define LED_BRIGHTNESS_HI 255
  37. /* fix space cadet rollover issue */
  38. #define DISABLE_SPACE_CADET_ROLLOVER
  39. /* Set 0 if debouncing isn't needed */
  40. #define DEBOUNCE 5
  41. #define USB_MAX_POWER_CONSUMPTION 500
  42. /* NKRO */
  43. #ifndef FORCE_NKRO
  44. #define FORCE_NKRO // Depends on NKRO_ENABLE.
  45. #endif
  46. /*
  47. * Feature disable options
  48. * These options are also useful to firmware size reduction.
  49. */
  50. /* disable debug print */
  51. // #define NO_DEBUG
  52. /* disable print */
  53. // #define NO_PRINT
  54. /* disable action features */
  55. //#define NO_ACTION_LAYER
  56. //#define NO_ACTION_TAPPING
  57. //#define NO_ACTION_ONESHOT
  58. //#define NO_ACTION_MACRO
  59. //#define NO_ACTION_FUNCTION
  60. //#define DEBUG_MATRIX_SCAN_RATE
  61. #endif