config.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x4B4B
  5. #define PRODUCT_ID 0x0002
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER TheRoyalSweatshirt
  8. #define PRODUCT RoMac+
  9. /* key matrix size */
  10. #define MATRIX_ROWS 4
  11. #define MATRIX_COLS 3
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { C6, D4, D2, D3 }
  14. #define MATRIX_COL_PINS { F6, F5, F4 }
  15. #define UNUSED_PINS
  16. #define ENCODERS_PAD_A { B3 }
  17. #define ENCODERS_PAD_B { B2 }
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION COL2ROW
  20. /* number of backlight levels */
  21. #define BACKLIGHT_LEVELS 0
  22. /* Set 0 if debouncing isn't needed */
  23. #define DEBOUNCE 5
  24. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  25. #define LOCKING_SUPPORT_ENABLE
  26. /* Locking resynchronize hack */
  27. #define LOCKING_RESYNC_ENABLE
  28. /* ws2812 RGB LED */
  29. #define RGB_DI_PIN F7
  30. #define RGBLED_NUM 4 // Number of LEDs
  31. #define RGBLIGHT_ANIMATIONS
  32. #define RGBLIGHT_HUE_STEP 6
  33. #define RGBLIGHT_SAT_STEP 4
  34. #define RGBLIGHT_VAL_STEP 8