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.

47 lines
1.2 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x4752
  5. #define PRODUCT_ID 0x4D49
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER gregorio
  8. #define PRODUCT Mixi
  9. #define DESCRIPTION Mixi macropad by gregorio
  10. /* key matrix size */
  11. #define MATRIX_ROWS 3
  12. #define MATRIX_COLS 3
  13. /* Keyboard Matrix Assignments */
  14. #define DIRECT_PINS { \
  15. { D1, D4, F4 }, \
  16. { D0, B4, F5 }, \
  17. { C6, F7, B6 } \
  18. }
  19. #define ENCODERS_PAD_A { D7, B1 }
  20. #define ENCODERS_PAD_B { E6, B3 }
  21. /* Set 0 if debouncing isn't needed */
  22. #define DEBOUNCE 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 RGB_DI_PIN B5
  28. #ifdef RGB_DI_PIN
  29. #define RGBLED_NUM 5
  30. #define RGBLIGHT_HUE_STEP 8
  31. #define RGBLIGHT_SAT_STEP 8
  32. #define RGBLIGHT_VAL_STEP 8
  33. #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
  34. #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  35. #define RGBLIGHT_ANIMATIONS
  36. #define RGBLIGHT_LAYERS
  37. #define RGBLIGHT_LAYER_BLINK
  38. #endif