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.

82 lines
2.3 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. #define DESCRIPTION QMK keyboard firmware for ErgoDone
  12. /* key matrix size */
  13. #define MATRIX_ROWS 6
  14. #define MATRIX_COLS 14
  15. #define MOUSEKEY_INTERVAL 20
  16. #define MOUSEKEY_DELAY 0
  17. #define MOUSEKEY_TIME_TO_MAX 60
  18. #define MOUSEKEY_MAX_SPEED 7
  19. #define MOUSEKEY_WHEEL_DELAY 0
  20. #define TAPPING_TOGGLE 1
  21. /* define if matrix has ghost */
  22. //#define MATRIX_HAS_GHOST
  23. #define TAPPING_TERM 200
  24. #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.)
  25. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  26. #define LOCKING_SUPPORT_ENABLE
  27. /* Locking resynchronize hack */
  28. #define LOCKING_RESYNC_ENABLE
  29. /* key combination for command */
  30. #define IS_COMMAND() ( \
  31. get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
  32. get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
  33. )
  34. /* number of backlight levels */
  35. #define BACKLIGHT_LEVELS 3
  36. #define LED_BRIGHTNESS_LO 15
  37. #define LED_BRIGHTNESS_HI 255
  38. /* fix space cadet rollover issue */
  39. #define DISABLE_SPACE_CADET_ROLLOVER
  40. /* Set 0 if debouncing isn't needed */
  41. #define DEBOUNCE 5
  42. #define USB_MAX_POWER_CONSUMPTION 500
  43. /* NKRO */
  44. #ifndef FORCE_NKRO
  45. #define FORCE_NKRO // Depends on NKRO_ENABLE.
  46. #endif
  47. /*
  48. * Feature disable options
  49. * These options are also useful to firmware size reduction.
  50. */
  51. /* disable debug print */
  52. // #define NO_DEBUG
  53. /* disable print */
  54. // #define NO_PRINT
  55. /* disable action features */
  56. //#define NO_ACTION_LAYER
  57. //#define NO_ACTION_TAPPING
  58. //#define NO_ACTION_ONESHOT
  59. //#define NO_ACTION_MACRO
  60. //#define NO_ACTION_FUNCTION
  61. //#define DEBUG_MATRIX_SCAN_RATE
  62. #endif