config.h 1018 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6060
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER PyroL
  8. #define PRODUCT alpha
  9. /* key matrix size */
  10. #define MATRIX_ROWS 3
  11. #define MATRIX_COLS 10
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { D4, B4, B5 }
  14. #define MATRIX_COL_PINS { D7, E6, C6, B6, B2, B3, B1, F7, F6, F5 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. /* number of backlight levels */
  19. #ifdef BACKLIGHT_PIN
  20. #define BACKLIGHT_LEVELS 3
  21. #endif
  22. /* Set 0 if debouncing isn't needed */
  23. #define DEBOUNCE 5
  24. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  25. #define LOCKING_SUPPORT_ENABLE
  26. /* Locking resynchronize hack */
  27. #define LOCKING_RESYNC_ENABLE
  28. #define RGB_DI_PIN F4
  29. #ifdef RGB_DI_PIN
  30. #define RGBLIGHT_ANIMATIONS
  31. #define RGBLED_NUM 5
  32. #define RGBLIGHT_HUE_STEP 8
  33. #define RGBLIGHT_SAT_STEP 8
  34. #define RGBLIGHT_VAL_STEP 8
  35. #endif