config.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0xFADE
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER Pixlup
  8. #define PRODUCT Blackplum Keeb
  9. #define DESCRIPTION Blackplum 68 Percent Mechanical Keyboard
  10. /* key matrix size */
  11. #define MATRIX_ROWS 9
  12. #define MATRIX_COLS 8
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { C6, B6, B4, B5, D6, D7, D5, D3, D4 }
  15. #define MATRIX_COL_PINS { D0, D1, D2, F7, F6, F5, F4, F1 }
  16. #define UNUSED_PINS
  17. #define DIODE_DIRECTION COL2ROW
  18. /* Set 0 if debouncing isn't needed */
  19. #define DEBOUNCE 5
  20. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  21. #define LOCKING_SUPPORT_ENABLE
  22. /* Locking resynchronize hack */
  23. #define LOCKING_RESYNC_ENABLE
  24. /* ws2812 RGB LED */
  25. #define RGB_DI_PIN C7
  26. #define RGBLIGHT_ANIMATIONS
  27. #define RGBLED_NUM 16 // Number of LEDs
  28. #define RGBLIGHT_HUE_STEP 10
  29. #define RGBLIGHT_SAT_STEP 10
  30. #define RGBLIGHT_VAL_STEP 10
  31. #define RGBLIGHT_SLEEP