config.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* Copyright 2021 kuenhlee and Don Kjer
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. #include "config_common.h"
  18. /* USB Device descriptor parameter */
  19. #define VENDOR_ID 0xD60D
  20. #define PRODUCT_ID 0x3200
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER Hoksi Technology
  23. #define PRODUCT DURGOD Taurus K320 (QMK)
  24. /* key matrix size */
  25. #define MATRIX_ROWS 7
  26. #define MATRIX_COLS 16
  27. #define MATRIX_ROW_PINS { A0, A1, A2, A3, A4, A5, A6 }
  28. #define MATRIX_COL_PINS { C4, C5, B0, B1, B2, B10, B11, B12, B13, B14, B15, C6, C7, C10, C11, C12 }
  29. /* COL2ROW, ROW2COL*/
  30. #define DIODE_DIRECTION ROW2COL
  31. // Dynamic EEPROM
  32. // Something sensible or else VIA may crash
  33. // Users may enable more if they wish
  34. #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 4095
  35. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  36. #define DEBOUNCE 5
  37. /* Bootmagic Lite key configuration */
  38. #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
  39. #define BOOTMAGIC_LITE_ROW 0
  40. #define BOOTMAGIC_LITE_COLUMN 0
  41. /* LED indicator pins */
  42. #define LED_CAPS_LOCK_PIN C9
  43. #define LED_SCROLL_LOCK_PIN A8
  44. #define LED_WIN_LOCK_PIN A9
  45. #define LED_MR_LOCK_PIN A10
  46. #define LED_PIN_ON_STATE 0