config.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6060
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER Evil
  8. #define PRODUCT Evil80
  9. #define DESCRIPTION QMK keyboard firmware for Evil80
  10. /* key matrix size */
  11. #define MATRIX_ROWS 6
  12. #define MATRIX_COLS 16
  13. /* Planck PCB default pin-out */
  14. #define MATRIX_ROW_PINS { F1, F4, F5, F0, B3, B0 }
  15. #define MATRIX_COL_PINS { B2, D0, D1, D2, D3, D5, D4, D6, D7, B4, B1, C6, C7, E6, F6, F7 }
  16. #define UNUSED_PINS
  17. #define BACKLIGHT_PIN B5
  18. #define BACKLIGHT_BREATHING
  19. /* COL2ROW or ROW2COL */
  20. #define DIODE_DIRECTION COL2ROW
  21. /* define if matrix has ghost */
  22. //#define MATRIX_HAS_GHOST
  23. /* number of backlight levels */
  24. #define BACKLIGHT_LEVELS 3
  25. /* Set 0 if debouncing isn't needed */
  26. #define DEBOUNCING_DELAY 5
  27. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  28. #define LOCKING_SUPPORT_ENABLE
  29. /* Locking resynchronize hack */
  30. #define LOCKING_RESYNC_ENABLE
  31. /*
  32. * Feature disable options
  33. * These options are also useful to firmware size reduction.
  34. */
  35. /* disable debug print */
  36. //#define NO_DEBUG
  37. /* disable print */
  38. //#define NO_PRINT
  39. /* disable action features */
  40. //#define NO_ACTION_LAYER
  41. //#define NO_ACTION_TAPPING
  42. //#define NO_ACTION_ONESHOT
  43. //#define NO_ACTION_MACRO
  44. //#define NO_ACTION_FUNCTION