config.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 Barry
  9. #define PRODUCT CA66
  10. #define DESCRIPTION CA66
  11. /* key matrix size */
  12. #define MATRIX_ROWS 5
  13. #define MATRIX_COLS 15
  14. /* key matrix pins */
  15. #define MATRIX_ROW_PINS { F5, F4, F1, B0, B3 }
  16. #define MATRIX_COL_PINS { F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, F6, B7, E6 }
  17. #define UNUSED_PINS
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION COL2ROW
  20. /* number of backlight levels */
  21. #define BACKLIGHT_PIN F0
  22. #define BACKLIGHT_LEVELS 3
  23. /* Set 0 if debouncing isn't needed */
  24. #define DEBOUNCING_DELAY 5
  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. #define RGB_DI_PIN B1
  30. #ifdef RGB_DI_PIN
  31. #define RGBLIGHT_ANIMATIONS
  32. #define RGBLED_NUM 6
  33. #define RGBLIGHT_HUE_STEP 8
  34. #define RGBLIGHT_SAT_STEP 8
  35. #define RGBLIGHT_VAL_STEP 8
  36. #endif
  37. #endif