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.

39 lines
909 B

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x0007
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER numazu Keyboards
  8. #define PRODUCT lovelive9
  9. #define DESCRIPTION lovelive sunshine Keyboards 9Key
  10. /* key matrix size */
  11. #define MATRIX_ROWS 1
  12. #define MATRIX_COLS 9
  13. /* default pin-out */
  14. #define MATRIX_ROW_PINS { NO_PIN }
  15. #define MATRIX_COL_PINS { B4, B6, B2, D7, B1, F7, F6, F5, F4 }
  16. #define UNUSED_PINS
  17. /* ws2812 RGB LED */
  18. #define RGB_DI_PIN D3
  19. #define RGBLED_NUM 9 // Number of LEDs
  20. #define RGBLIGHT_ANIMATIONS
  21. #define BACKLIGHT_LEVELS 5
  22. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4
  23. #define BREATHING_PERIOD 2
  24. #define RGBLIGHT_LIMIT_VAL 255
  25. #define RGBLIGHT_HUE_STEP 10
  26. #define RGBLIGHT_SAT_STEP 17
  27. #define RGBLIGHT_VAL_STEP 17
  28. #define USB_MAX_POWER_CONSUMPTION 400
  29. #define TAPPING_TERM 200