config.h 929 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x4B4B
  5. #define PRODUCT_ID 0x0003
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER TheRoyalSweatshirt
  8. #define PRODUCT Liminal
  9. /* key matrix size */
  10. #define MATRIX_ROWS 4
  11. #define MATRIX_COLS 14
  12. #define MATRIX_ROW_PINS { C6, B6, B7, C7 }
  13. #define MATRIX_COL_PINS { D6, C4, D3, D2, D1, D0, C2, B0, B1, B2, B3, B4, D5, C5 }
  14. #define UNUSED_PINS
  15. /* COL2ROW or ROW2COL */
  16. #define DIODE_DIRECTION COL2ROW
  17. /* Set 0 if debouncing isn't needed */
  18. #define DEBOUNCE 5
  19. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  20. #define LOCKING_SUPPORT_ENABLE
  21. /* Locking resynchronize hack */
  22. #define LOCKING_RESYNC_ENABLE
  23. /* ws2812 RGB LED */
  24. #define RGB_DI_PIN D4
  25. #define RGBLED_NUM 1 // Number of LEDs
  26. #define RGBLIGHT_HUE_STEP 6
  27. #define RGBLIGHT_SAT_STEP 4
  28. #define RGBLIGHT_VAL_STEP 4