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.

58 lines
1.5 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x445A // "DZ"
  5. #define PRODUCT_ID 0x2260
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER KBDFans
  8. #define PRODUCT DZ60
  9. /* key matrix size */
  10. #define MATRIX_ROWS 5
  11. #define MATRIX_COLS 15
  12. /*
  13. * Keyboard Matrix Assignments
  14. *
  15. * Change this to how you wired your keyboard
  16. * COLS: AVR pins used for columns, left to right
  17. * ROWS: AVR pins used for rows, top to bottom
  18. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  19. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  20. *
  21. */
  22. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
  23. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4 }
  24. #define UNUSED_PINS
  25. /* COL2ROW, ROW2COL*/
  26. #define DIODE_DIRECTION COL2ROW
  27. #define LED_CAPS_LOCK_PIN B2
  28. #define LED_PIN_ON_STATE 0
  29. #define BACKLIGHT_PIN B6
  30. #define BACKLIGHT_LEVELS 5
  31. #define RGB_DI_PIN E2
  32. #ifdef RGB_DI_PIN
  33. # define RGBLIGHT_ANIMATIONS
  34. # define RGBLED_NUM 16
  35. # define RGBLIGHT_HUE_STEP 8
  36. # define RGBLIGHT_SAT_STEP 8
  37. # define RGBLIGHT_VAL_STEP 8
  38. # define RGBLIGHT_SLEEP
  39. #endif
  40. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  41. #define DEBOUNCE 5
  42. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  43. #define LOCKING_SUPPORT_ENABLE
  44. /* Locking resynchronize hack */
  45. #define LOCKING_RESYNC_ENABLE
  46. /* VIA related config */
  47. #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2