config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x4B42
  5. #define MANUFACTURER qmkbuilder
  6. #define PRODUCT KBD75
  7. /* key matrix size */
  8. #define MATRIX_ROWS 6
  9. #define MATRIX_COLS 16
  10. /* key matrix pins */
  11. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5, B7 }
  12. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, F5, D4, B1, B0, B5, B4, D7, D6, B3, F4, F6 }
  13. #define UNUSED_PINS
  14. /* COL2ROW or ROW2COL */
  15. #define DIODE_DIRECTION COL2ROW
  16. #define LED_CAPS_LOCK_PIN B2
  17. #define LED_PIN_ON_STATE 0
  18. /* number of backlight levels */
  19. #define BACKLIGHT_PIN B6
  20. #ifdef BACKLIGHT_PIN
  21. #define BACKLIGHT_LEVELS 5
  22. #endif
  23. /* Set 0 if debouncing isn't needed */
  24. #define DEBOUNCE 5
  25. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  26. #define LOCKING_SUPPORT_ENABLE
  27. /* Locking resynchronize hack */
  28. #define LOCKING_RESYNC_ENABLE
  29. #define RGB_DI_PIN E2
  30. #ifdef RGB_DI_PIN
  31. #define RGBLIGHT_ANIMATIONS
  32. #define RGBLED_NUM 16
  33. #define RGBLIGHT_HUE_STEP 8
  34. #define RGBLIGHT_SAT_STEP 8
  35. #define RGBLIGHT_VAL_STEP 8
  36. #define RGBLIGHT_SLEEP
  37. /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  38. #define RGBLIGHT_SLEEP
  39. #endif