config.h 973 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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 TheRoyalSweatshirt
  8. #define PRODUCT romac
  9. #define DESCRIPTION A *Plaid inspired twelve-key macropad
  10. /* key matrix size */
  11. #define MATRIX_ROWS 4
  12. #define MATRIX_COLS 3
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { D4, C6, D7, E6 }
  15. #define MATRIX_COL_PINS { F7, B1, B3 }
  16. #define UNUSED_PINS
  17. /* COL2ROW or ROW2COL */
  18. #define DIODE_DIRECTION COL2ROW
  19. /* number of backlight levels */
  20. #define BACKLIGHT_LEVELS 0
  21. /* Set 0 if debouncing isn't needed */
  22. #define DEBOUNCING_DELAY 5
  23. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  24. #define LOCKING_SUPPORT_ENABLE
  25. /* Locking resynchronize hack */
  26. #define LOCKING_RESYNC_ENABLE
  27. #define RGBLED_NUM 0
  28. #define RGBLIGHT_HUE_STEP 8
  29. #define RGBLIGHT_SAT_STEP 8
  30. #define RGBLIGHT_VAL_STEP 8