You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
979 B

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