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.

135 lines
4.2 KiB

  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. #include "config_common.h"
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6064
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER LFKeyboards
  8. #define PRODUCT LFK65_HS
  9. #define DIODE_DIRECTION COL2ROW
  10. #define MATRIX_ROWS 5
  11. #define MATRIX_COLS 16
  12. #define MATRIX_ROW_PINS {B0, B3, B2, B1, F5}
  13. #define MATRIX_COL_PINS {E6, F4, B7, D5, D3, D2, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4}
  14. #define UNUSED_PINS {}
  15. #define RGBLED_NUM 20 // Number of LEDs
  16. #define QMK_ESC_OUTPUT E6 // usually COL
  17. #define QMK_ESC_INPUT B0 // usually ROW
  18. #define QMK_LED F1
  19. // #define QMK_SPEAKER C6
  20. #define BACKLIGHT_LEVELS 8
  21. #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255}
  22. #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile
  23. #define RGBLED_NUM 20 // Number of LEDs
  24. #define RGBLIGHT_ANIMATIONS
  25. #define RGBLIGHT_HUE_STEP 10
  26. #define RGBLIGHT_SAT_STEP 17
  27. #define RGBLIGHT_VAL_STEP 17
  28. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  29. #define DEBOUNCE 5
  30. /* define if matrix has ghost (lacks anti-ghosting diodes) */
  31. //#define MATRIX_HAS_GHOST
  32. /* number of backlight levels */
  33. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  34. #define LOCKING_SUPPORT_ENABLE
  35. /* Locking resynchronize hack */
  36. #define LOCKING_RESYNC_ENABLE
  37. /*
  38. * Force NKRO
  39. *
  40. * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
  41. * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
  42. * makefile for this to work.)
  43. *
  44. * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
  45. * until the next keyboard reset.
  46. *
  47. * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
  48. * fully operational during normal computer usage.
  49. *
  50. * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
  51. * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
  52. * bootmagic, NKRO mode will always be enabled until it is toggled again during a
  53. * power-up.
  54. *
  55. */
  56. //#define FORCE_NKRO
  57. /*
  58. * Magic Key Options
  59. *
  60. * Magic keys are hotkey commands that allow control over firmware functions of
  61. * the keyboard. They are best used in combination with the HID Listen program,
  62. * found here: https://www.pjrc.com/teensy/hid_listen.html
  63. *
  64. * The options below allow the magic key functionality to be changed. This is
  65. * useful if your keyboard/keypad is missing keys and you want magic key support.
  66. *
  67. */
  68. /* control how magic key switches layers */
  69. //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
  70. //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
  71. //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
  72. /* override magic key keymap */
  73. //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
  74. //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
  75. //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
  76. //#define MAGIC_KEY_HELP1 H
  77. //#define MAGIC_KEY_HELP2 SLASH
  78. //#define MAGIC_KEY_DEBUG D
  79. //#define MAGIC_KEY_DEBUG_MATRIX X
  80. //#define MAGIC_KEY_DEBUG_KBD K
  81. //#define MAGIC_KEY_DEBUG_MOUSE M
  82. //#define MAGIC_KEY_VERSION V
  83. //#define MAGIC_KEY_STATUS S
  84. //#define MAGIC_KEY_CONSOLE C
  85. //#define MAGIC_KEY_LAYER0_ALT1 ESC
  86. //#define MAGIC_KEY_LAYER0_ALT2 GRAVE
  87. //#define MAGIC_KEY_LAYER0 0
  88. //#define MAGIC_KEY_LAYER1 1
  89. //#define MAGIC_KEY_LAYER2 2
  90. //#define MAGIC_KEY_LAYER3 3
  91. //#define MAGIC_KEY_LAYER4 4
  92. //#define MAGIC_KEY_LAYER5 5
  93. //#define MAGIC_KEY_LAYER6 6
  94. //#define MAGIC_KEY_LAYER7 7
  95. //#define MAGIC_KEY_LAYER8 8
  96. //#define MAGIC_KEY_LAYER9 9
  97. //#define MAGIC_KEY_BOOTLOADER PAUSE
  98. //#define MAGIC_KEY_LOCK CAPS
  99. //#define MAGIC_KEY_EEPROM E
  100. //#define MAGIC_KEY_NKRO N
  101. //#define MAGIC_KEY_SLEEP_LED Z
  102. /*
  103. * Feature disable options
  104. * These options are also useful to firmware size reduction.
  105. */
  106. /* disable debug print */
  107. //#define NO_DEBUG
  108. /* disable print */
  109. //#define NO_PRINT
  110. /* disable action features */
  111. //#define NO_ACTION_LAYER
  112. //#define NO_ACTION_TAPPING
  113. //#define NO_ACTION_ONESHOT
  114. //#define NO_ACTION_MACRO
  115. //#define NO_ACTION_FUNCTION
  116. #endif