config.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. /* key combination for command */
  32. #define IS_COMMAND() ( \
  33. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  34. )
  35. /*
  36. * Feature disable options
  37. * These options are also useful to firmware size reduction.
  38. */
  39. /* disable debug print */
  40. //#define NO_DEBUG
  41. /* disable print */
  42. //#define NO_PRINT
  43. /* disable action features */
  44. //#define NO_ACTION_LAYER
  45. //#define NO_ACTION_TAPPING
  46. //#define NO_ACTION_ONESHOT
  47. //#define NO_ACTION_MACRO
  48. //#define NO_ACTION_FUNCTION