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.

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