config.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6060
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER blindassassin111
  8. #define PRODUCT Z-150 PCB
  9. #define DESCRIPTION Replacement for Zenith Z-150 PCB
  10. /* key matrix size */
  11. #define MATRIX_ROWS 5
  12. #define MATRIX_COLS 20
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { C3, C2, C1, C0, E1 }
  15. #define MATRIX_COL_PINS { D0, D1, D2, D3, D4, D5, D7, E0, C7, C6, C5, C4, F0, F1, F2, F3, F4, F5, F6, F7 }
  16. #define UNUSED_PINS
  17. /* COL2ROW or ROW2COL */
  18. #define DIODE_DIRECTION COL2ROW
  19. /* Set 0 if debouncing isn't needed */
  20. #define DEBOUNCING_DELAY 5
  21. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  22. #define LOCKING_SUPPORT_ENABLE
  23. /* Locking resynchronize hack */
  24. #define LOCKING_RESYNC_ENABLE
  25. /* force n-key rollover*/
  26. #define FORCE_NKRO
  27. /* key combination for command */
  28. #define IS_COMMAND() ( \
  29. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  30. )
  31. #ifdef RGB_DI_PIN
  32. #define RGBLIGHT_ANIMATIONS
  33. #define RGBLED_NUM 0
  34. #define RGBLIGHT_HUE_STEP 8
  35. #define RGBLIGHT_SAT_STEP 8
  36. #define RGBLIGHT_VAL_STEP 8
  37. #endif