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.

54 lines
1.6 KiB

  1. /* Copyright 2021 B. Fletcher
  2. *
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. #include "config_common.h"
  19. /* USB Device descriptor parameter */
  20. #define VENDOR_ID 0xBF00
  21. #define PRODUCT_ID 0xBF22
  22. #define DEVICE_VER 0x0001
  23. #define MANUFACTURER Daji
  24. #define PRODUCT Seis Cinco
  25. /* key matrix size */
  26. #define MATRIX_ROWS 5
  27. #define MATRIX_COLS 16
  28. /*
  29. * Keyboard Matrix Assignments
  30. */
  31. #define MATRIX_ROW_PINS { B2, B10, B11, A9, A6 }
  32. #define MATRIX_COL_PINS { B1, B0, A7, B14, A8, B15, A0, C15, C14, C13, B5, B4, B3, A15, A10, A14 }
  33. #define UNUSED_PINS
  34. /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
  35. #define DIODE_DIRECTION COL2ROW
  36. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  37. #define DEBOUNCE 5
  38. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  39. #define LOCKING_SUPPORT_ENABLE
  40. /* Locking resynchronize hack */
  41. #define LOCKING_RESYNC_ENABLE
  42. /* VIA layouts
  43. * 2 bits = 4 layout options
  44. */
  45. #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2