config.h 743 B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define PRODUCT_ID 0x0161
  5. #define DEVICE_VER 0x0001
  6. /* key matrix pins */
  7. #define MATRIX_ROW_PINS { F4, F5, F6, F7 }
  8. #define MATRIX_COL_PINS { D1, D0, D4, C6 }
  9. #define UNUSED_PINS
  10. /* COL2ROW or ROW2COL */
  11. #define DIODE_DIRECTION COL2ROW
  12. /* Set 0 if debouncing isn't needed */
  13. #define DEBOUNCE 5
  14. #ifndef CONVERT_TO_PROTON_C
  15. # define LED_NUM_LOCK_PIN B0 // RXLED
  16. # define LED_CAPS_LOCK_PIN D5 // TXLED
  17. # define LED_PIN_ON_STATE 0
  18. #endif
  19. /* Underglow options */
  20. #define RGB_DI_PIN B1
  21. #ifdef RGB_DI_PIN
  22. #define RGBLIGHT_ANIMATIONS
  23. #define RGBLED_NUM 1
  24. #define RGBLIGHT_HUE_STEP 8
  25. #define RGBLIGHT_SAT_STEP 8
  26. #define RGBLIGHT_VAL_STEP 8
  27. #endif