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.

59 lines
1.3 KiB

  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. /* key matrix size */
  10. #define MATRIX_ROWS 6
  11. #define MATRIX_COLS 16
  12. /* Planck PCB default pin-out */
  13. #define MATRIX_ROW_PINS { F1, F4, F5, F0, B3, B0 }
  14. #define MATRIX_COL_PINS { B2, D0, D1, D2, D3, D5, D4, D6, D7, B4, B1, C6, C7, E6, F6, F7 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. /* define if matrix has ghost */
  19. //#define MATRIX_HAS_GHOST
  20. #define LED_CAPS_LOCK_PIN B6
  21. #define LED_SCROLL_LOCK_PIN B7
  22. #define BACKLIGHT_PIN B5
  23. #define BACKLIGHT_BREATHING
  24. #define BACKLIGHT_LEVELS 3
  25. /* Set 0 if debouncing isn't needed */
  26. #define DEBOUNCE 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