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.

50 lines
1.1 KiB

  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. #include "config_common.h"
  4. /* USB Device descriptor parameter */
  5. #define VENDOR_ID 0xFEED
  6. #define PRODUCT_ID 0x6060
  7. #define DEVICE_VER 0x0001
  8. #define MANUFACTURER qmkbuilder
  9. #define PRODUCT keyboard
  10. #define DESCRIPTION Keyboard
  11. /* key matrix size */
  12. #define MATRIX_ROWS 5
  13. #define MATRIX_COLS 16
  14. #define ATMEGA_COLS 8
  15. /* key matrix pins */
  16. #define MATRIX_ROW_PINS { B1, B2, B3, C6, B6 }
  17. #define MATRIX_COL_PINS { F6, B5, B4, D7, D6, D5, D3, D2 }
  18. #define UNUSED_PINS
  19. /* COL2ROW or ROW2COL */
  20. #define DIODE_DIRECTION COL2ROW
  21. /* number of backlight levels */
  22. #define BACKLIGHT_PIN B7
  23. #ifdef BACKLIGHT_PIN
  24. #define BACKLIGHT_LEVELS 3
  25. #endif
  26. /* Set 0 if debouncing isn't needed */
  27. #define DEBOUNCING_DELAY 5
  28. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  29. #define LOCKING_SUPPORT_ENABLE
  30. /* Locking resynchronize hack */
  31. #define LOCKING_RESYNC_ENABLE
  32. #ifdef RGB_DI_PIN
  33. #define RGBLIGHT_ANIMATIONS
  34. #define RGBLED_NUM 0
  35. #define RGBLIGHT_HUE_STEP 8
  36. #define RGBLIGHT_SAT_STEP 8
  37. #define RGBLIGHT_VAL_STEP 8
  38. #endif
  39. #endif