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.

40 lines
946 B

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x5058 // "PX"
  5. #define PRODUCT_ID 0x5445 // "TE"
  6. #define DEVICE_VER 0x1001
  7. #define MANUFACTURER Pixlup
  8. #define PRODUCT TENKI
  9. /* key matrix size */
  10. #define MATRIX_ROWS 5
  11. #define MATRIX_COLS 4
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { B1, B4, F6, B6, B2 }
  14. #define MATRIX_COL_PINS { F4, F5, D4, D0 }
  15. #define UNUSED_PINS
  16. #define DIODE_DIRECTION COL2ROW
  17. /* Set 0 if debouncing isn't needed */
  18. #define DEBOUNCE 5
  19. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  20. #define LOCKING_SUPPORT_ENABLE
  21. /* Locking resynchronize hack */
  22. #define LOCKING_RESYNC_ENABLE
  23. /* ws2812 RGB LED */
  24. #define RGB_DI_PIN D1
  25. #define RGBLIGHT_ANIMATIONS
  26. #define RGBLED_NUM 3 // Number of LEDs
  27. #define RGBLIGHT_HUE_STEP 10
  28. #define RGBLIGHT_SAT_STEP 10
  29. #define RGBLIGHT_VAL_STEP 10
  30. #define RGBLIGHT_SLEEP