2
0

config.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xC1ED
  5. #define PRODUCT_ID 0x2301
  6. #define DEVICE_VER 0x0003
  7. #define MANUFACTURER Clueboard
  8. #define PRODUCT Clueboard
  9. #define DESCRIPTION QMK keyboard firmware for Clueboard
  10. /* key matrix size
  11. */
  12. #define MATRIX_ROWS 5
  13. #define MATRIX_COLS 16
  14. /* ROWS: Top to bottom, COLS: Left to right
  15. */
  16. #define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 }
  17. #define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 }
  18. #define UNUSED_PINS
  19. /* COL2ROW or ROW2COL */
  20. #define DIODE_DIRECTION COL2ROW
  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. /*
  28. * Feature disable options
  29. * These options are also useful to firmware size reduction.
  30. */
  31. /* disable debug print */
  32. //#define NO_DEBUG
  33. /* disable print */
  34. //#define NO_PRINT
  35. /* disable action features */
  36. //#define NO_ACTION_LAYER
  37. //#define NO_ACTION_TAPPING
  38. //#define NO_ACTION_ONESHOT
  39. //#define NO_ACTION_MACRO
  40. //#define NO_ACTION_FUNCTION
  41. /* Underlight configuration
  42. */
  43. #define RGB_DI_PIN B2
  44. #define RGBLIGHT_ANIMATIONS
  45. #define RGBLED_NUM 14 // Number of LEDs
  46. #define RGBLIGHT_HUE_STEP 10
  47. #define RGBLIGHT_SAT_STEP 17
  48. #define RGBLIGHT_VAL_STEP 17