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
952 B

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x2171
  6. #define MANUFACTURER Charles Garcia
  7. #define PRODUCT 8-Pack
  8. /* COL2ROW or ROW2COL */
  9. #define DIODE_DIRECTION COL2ROW
  10. /* Set 0 if debouncing isn't needed */
  11. #define DEBOUNCE 5
  12. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  13. #define LOCKING_SUPPORT_ENABLE
  14. /* Locking resynchronize hack */
  15. #define LOCKING_RESYNC_ENABLE
  16. /* key matrix size */
  17. #define MATRIX_ROWS 2
  18. #define MATRIX_COLS 4
  19. /* key matrix pins */
  20. #define DIRECT_PINS { { F4, F5, F6, F7 }, { B1, B3, B2, B6 } }
  21. #define BACKLIGHT_LED_COUNT 8
  22. #undef BACKLIGHT_PIN
  23. #define BACKLIGHT_PINS { D1, D0, D4, C6, D7, E6, B4, B5 }
  24. #define BACKLIGHT_LEVELS 8
  25. // ws2812 options
  26. #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
  27. #define RGBLED_NUM 8 // number of LEDs
  28. #define RGBLIGHT_ANIMATIONS