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.

41 lines
1000 B

  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 Panc Interactive
  8. #define PRODUCT Panc40
  9. #define DESCRIPTION QMK Firmware for Panc40
  10. /* key matrix size */
  11. #define MATRIX_ROWS 4
  12. #define MATRIX_COLS 12
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { F0, F1, F4, F5 }
  15. #define MATRIX_COL_PINS { F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, D0, D1 }
  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 RGB_DI_PIN D2
  26. #ifdef RGB_DI_PIN
  27. #define RGBLIGHT_ANIMATIONS
  28. #define RGBLED_NUM 8
  29. #define RGBLIGHT_HUE_STEP 8
  30. #define RGBLIGHT_SAT_STEP 8
  31. #define RGBLIGHT_VAL_STEP 8
  32. #endif