config.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x7983
  5. #define PRODUCT_ID 0x0512
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER Keycapsss
  8. #define PRODUCT O4L:5x12
  9. #define DESCRIPTION A 60 key ortholinear keyboard
  10. /* key matrix size */
  11. #define MATRIX_ROWS 5
  12. #define MATRIX_COLS 12
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
  15. #define MATRIX_COL_PINS { B5, B4, E6, D7, C6, D4, D0, D1, D2, F6, F5, F4 }
  16. #define UNUSED_PINS
  17. /* COL2ROW or ROW2COL */
  18. #define DIODE_DIRECTION COL2ROW
  19. /* WS2812 RGB LED */
  20. #define RGB_DI_PIN D3
  21. #ifdef RGB_DI_PIN
  22. #define RGBLIGHT_ANIMATIONS
  23. #define RGBLED_NUM 12 // Number of LEDs
  24. #define RGBLIGHT_HUE_STEP 4
  25. #define RGBLIGHT_SAT_STEP 4
  26. #define RGBLIGHT_VAL_STEP 4
  27. #endif
  28. /* Set 0 if debouncing isn't needed */
  29. #define DEBOUNCING_DELAY 5
  30. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  31. #define LOCKING_SUPPORT_ENABLE
  32. /* Locking resynchronize hack */
  33. #define LOCKING_RESYNC_ENABLE