config.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xC1ED
  5. #define PRODUCT_ID 0x2370
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER Clueboard
  8. #define PRODUCT Clueboard
  9. #define DESCRIPTION QMK keyboard firmware for Clueboard
  10. /* key matrix size */
  11. #define MATRIX_ROWS 10
  12. #define MATRIX_COLS 8
  13. /* ROWS: Top to bottom, COLS: Left to right
  14. */
  15. #define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
  16. #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 }
  17. #define UNUSED_PINS
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION COL2ROW
  20. /* Set 0 if debouncing isn't needed */
  21. #define DEBOUNCING_DELAY 5
  22. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  23. #define LOCKING_SUPPORT_ENABLE
  24. /* Locking resynchronize hack */
  25. #define LOCKING_RESYNC_ENABLE
  26. /*
  27. * Feature disable options
  28. * These options are also useful to firmware size reduction.
  29. */
  30. /* disable debug print */
  31. //#define NO_DEBUG
  32. /* disable print */
  33. //#define NO_PRINT
  34. /* disable action features */
  35. //#define NO_ACTION_LAYER
  36. //#define NO_ACTION_TAPPING
  37. //#define NO_ACTION_ONESHOT
  38. //#define NO_ACTION_MACRO
  39. //#define NO_ACTION_FUNCTION
  40. /* Backlight configuration
  41. */
  42. #define BACKLIGHT_LEVELS 1
  43. /* Underlight configuration
  44. */
  45. #define RGB_DI_PIN D7
  46. #define RGBLED_NUM 18 // Number of LEDs
  47. #define RGBLIGHT_HUE_STEP 32
  48. #define RGBLIGHT_SAT_STEP 17
  49. #define RGBLIGHT_VAL_STEP 17
  50. #define RGBLIGHT_ANIMATIONS
  51. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  52. #define RGBLIGHT_EFFECT_BREATHE_MAX 200
  53. #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
  54. #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
  55. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3 // How many LEDs wide to light up
  56. #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2 // The led to start at
  57. #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel
  58. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up