config.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. /* COL2ROW or ROW2COL */
  18. #define DIODE_DIRECTION COL2ROW
  19. /* define if matrix has ghost */
  20. //#define MATRIX_HAS_GHOST
  21. #define LED_CAPS_LOCK_PIN B6
  22. #define LED_SCROLL_LOCK_PIN B7
  23. #define BACKLIGHT_PIN B5
  24. #define BACKLIGHT_BREATHING
  25. #define BACKLIGHT_LEVELS 3
  26. /* Set 0 if debouncing isn't needed */
  27. #define DEBOUNCE 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. /*
  33. * Feature disable options
  34. * These options are also useful to firmware size reduction.
  35. */
  36. /* disable debug print */
  37. //#define NO_DEBUG
  38. /* disable print */
  39. //#define NO_PRINT
  40. /* disable action features */
  41. //#define NO_ACTION_LAYER
  42. //#define NO_ACTION_TAPPING
  43. //#define NO_ACTION_ONESHOT
  44. //#define NO_ACTION_MACRO
  45. //#define NO_ACTION_FUNCTION