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.

52 lines
1.1 KiB

  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. #include "config_common.h"
  4. /* USB Device descriptor parameter */
  5. #define VENDOR_ID 0xFEED
  6. #define PRODUCT_ID 0x6060
  7. #define DEVICE_VER 0x0001
  8. #define MANUFACTURER Play Keyboard
  9. #define PRODUCT pk60
  10. /* key matrix size */
  11. #define MATRIX_ROWS 5
  12. #define MATRIX_COLS 15
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
  15. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, F7, B5, B4, D7, D6, B3, B2 }
  16. #define UNUSED_PINS
  17. /* COL2ROW or ROW2COL */
  18. #define DIODE_DIRECTION COL2ROW
  19. #define LED_CAPS_LOCK_PIN F4
  20. #define LED_PIN_ON_STATE 0
  21. /* number of backlight levels */
  22. #define BACKLIGHT_PIN B7
  23. #ifdef BACKLIGHT_PIN
  24. #define BACKLIGHT_LEVELS 5
  25. #endif
  26. /* Set 0 if debouncing isn't needed */
  27. #define DEBOUNCE 5
  28. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  29. #define LOCKING_SUPPORT_ENABLE
  30. /* Locking resynchronize hack */
  31. #define LOCKING_RESYNC_ENABLE
  32. #define RGB_DI_PIN E2
  33. #ifdef RGB_DI_PIN
  34. #define RGBLIGHT_ANIMATIONS
  35. #define RGBLED_NUM 12
  36. #define RGBLIGHT_HUE_STEP 8
  37. #define RGBLIGHT_SAT_STEP 8
  38. #define RGBLIGHT_VAL_STEP 8
  39. #endif
  40. #endif