config.h 958 B

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