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.

43 lines
993 B

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x4C44 // "LD"
  5. #define PRODUCT_ID 0x0050
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER LazyDesigners
  8. #define PRODUCT THE50
  9. /* key matrix size */
  10. #define MATRIX_ROWS 4
  11. #define MATRIX_COLS 15
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { B0, B1, B2, B3 }
  14. #define MATRIX_COL_PINS { B5, D0, D1, D2, D3, D4, D5, D6, D7, C6, C7, F4, F5, F6, F7 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. /* number of backlight levels */
  19. #define BACKLIGHT_PIN B6
  20. #ifdef BACKLIGHT_PIN
  21. #define BACKLIGHT_LEVELS 6
  22. #endif
  23. /* Set 0 if debouncing isn't needed */
  24. #define DEBOUNCE 5
  25. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  26. #define LOCKING_SUPPORT_ENABLE
  27. /* Locking resynchronize hack */
  28. #define LOCKING_RESYNC_ENABLE
  29. #define RGB_DI_PIN E6
  30. #ifdef RGB_DI_PIN
  31. #define RGBLED_NUM 1
  32. #define RGBLIGHT_SLEEP
  33. #endif