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.

56 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 Wheat Field Peripherals
  8. #define PRODUCT MT980
  9. /* key matrix size */
  10. #define MATRIX_ROWS 12
  11. #define MATRIX_COLS 9
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 }
  14. #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION ROW2COL
  18. #define LED_NUM_LOCK_PIN C6
  19. #define LED_CAPS_LOCK_PIN C7
  20. #define LED_SCROLL_LOCK_PIN B5
  21. #define LED_PIN_ON_STATE 0
  22. /* number of backlight levels */
  23. #define BACKLIGHT_PIN B6
  24. #ifdef BACKLIGHT_PIN
  25. #define BACKLIGHT_LEVELS 3
  26. #endif
  27. /* Set 0 if debouncing isn't needed */
  28. #define DEBOUNCE 5
  29. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  30. #define LOCKING_SUPPORT_ENABLE
  31. /* Locking resynchronize hack */
  32. #define LOCKING_RESYNC_ENABLE
  33. #define RGB_DI_PIN E2
  34. #ifdef RGB_DI_PIN
  35. #define RGBLIGHT_ANIMATIONS
  36. #define RGBLED_NUM 24
  37. #define RGBLIGHT_HUE_STEP 8
  38. #define RGBLIGHT_SAT_STEP 8
  39. #define RGBLIGHT_VAL_STEP 8
  40. #define RGBLIGHT_LIMIT_VAL 185
  41. #endif
  42. /* Place bootmagic key on Esc */
  43. #define BOOTMAGIC_LITE_ROW 5
  44. #define BOOTMAGIC_LITE_COLUMN 0