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.

58 lines
1.4 KiB

  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. #include "config_common.h"
  4. /* USB Device descriptor parameter */
  5. #define VENDOR_ID 0xFEED
  6. #define PRODUCT_ID 0x6060
  7. #define DEVICE_VER 0x0001
  8. #define MANUFACTURER qmkbuilder
  9. #define PRODUCT KBD75
  10. #define DESCRIPTION QMK keyboard firmware for KBD75 R3 or later
  11. /* key matrix size */
  12. #define MATRIX_ROWS 6
  13. #define MATRIX_COLS 16
  14. /* key matrix pins */
  15. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5, B7 }
  16. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, F5, D4, B1, B0, B5, B4, D7, D6, B3, F4, F6 }
  17. #define UNUSED_PINS
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION COL2ROW
  20. /* number of backlight levels */
  21. #define BACKLIGHT_PIN B6
  22. #ifdef BACKLIGHT_PIN
  23. #define BACKLIGHT_LEVELS 5
  24. #endif
  25. /* Set 0 if debouncing isn't needed */
  26. #define DEBOUNCING_DELAY 5
  27. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  28. #define LOCKING_SUPPORT_ENABLE
  29. /* Locking resynchronize hack */
  30. #define LOCKING_RESYNC_ENABLE
  31. /* key combination for command */
  32. #define IS_COMMAND() ( \
  33. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  34. )
  35. /* prevent stuck modifiers */
  36. #define PREVENT_STUCK_MODIFIERS
  37. #define RGB_DI_PIN E2
  38. #ifdef RGB_DI_PIN
  39. #define RGBLIGHT_ANIMATIONS
  40. #define RGBLED_NUM 16
  41. #define RGBLIGHT_HUE_STEP 8
  42. #define RGBLIGHT_SAT_STEP 8
  43. #define RGBLIGHT_VAL_STEP 8
  44. #endif
  45. #endif