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.

53 lines
1.2 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 Fengz
  8. #define PRODUCT Tetris
  9. #define DESCRIPTION Planck mit
  10. /* key matrix size */
  11. #define MATRIX_ROWS 5
  12. #define MATRIX_COLS 12
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { B3, B2, B1, B0, E6 }
  15. #define MATRIX_COL_PINS { D7, B4, B6, C6, C7, F6, F7, D4, D2, D3, D5, D6 }
  16. #define UNUSED_PINS
  17. /* COL2ROW or ROW2COL */
  18. #define DIODE_DIRECTION COL2ROW
  19. /* Set 0 if debouncing isn't needed */
  20. #define DEBOUNCE 5
  21. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  22. #define LOCKING_SUPPORT_ENABLE
  23. /* Locking resynchronize hack */
  24. #define LOCKING_RESYNC_ENABLE
  25. #define NO_ACTION_MACRO
  26. #define NO_ACTION_FUNCTION
  27. #ifdef AUDIO_ENABLE
  28. #define B5_AUDIO
  29. #define STARTUP_SONG SONG(ONE_UP_SOUND)
  30. #define NO_MUSIC_MODE
  31. #endif
  32. #define ENCODERS_PAD_A { D1,F1 }
  33. #define ENCODERS_PAD_B { D0,F0 }
  34. #define RGB_DI_PIN F5
  35. #define RGBLIGHT_ANIMATIONS
  36. #define RGBLIGHT_SLEEP
  37. #define RGBLED_NUM 47
  38. #define RGBLIGHT_HUE_STEP 8
  39. #define RGBLIGHT_SAT_STEP 8
  40. #define RGBLIGHT_VAL_STEP 8
  41. #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 12