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.

49 lines
1.1 KiB

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