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.

77 lines
1.9 KiB

  1. /*
  2. Copyright 2018 monksoffunk
  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. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. /* USB Device descriptor parameter */
  16. #define VENDOR_ID 0x04D8
  17. #define PRODUCT_ID 0xEA3B
  18. #define DEVICE_VER 0x0001
  19. #define MANUFACTURER 25KEYS
  20. #define PRODUCT zinc rev.1
  21. #define TAPPING_FORCE_HOLD
  22. #define TAPPING_TERM 100
  23. /* Use I2C or Serial */
  24. #define USE_SERIAL
  25. #define SOFT_SERIAL_PIN D2
  26. /* Select hand configuration */
  27. #define MASTER_LEFT
  28. //#define MASTER_RIGHT
  29. //#define EE_HANDS
  30. /* key matrix size */
  31. // Rows are doubled-up
  32. #define MATRIX_ROWS 8
  33. #define MATRIX_ROW_PINS { F6, F7, B1, B3 }
  34. // wiring of each half
  35. #define MATRIX_COLS 6
  36. #define MATRIX_COL_PINS { F4, D4, C6, D7, E6, B4 }
  37. #define DIODE_DIRECTION COL2ROW
  38. /* Set 0 if debouncing isn't needed */
  39. #define DEBOUNCE 5
  40. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  41. //#define LOCKING_SUPPORT_ENABLE
  42. /* Locking resynchronize hack */
  43. //#define LOCKING_RESYNC_ENABLE
  44. /* ws2812 RGB LED */
  45. #define RGB_DI_PIN D3
  46. /*
  47. * Feature disable options
  48. * These options are also useful to firmware size reduction.
  49. */
  50. /* disable debug print */
  51. // #define NO_DEBUG
  52. /* disable print */
  53. // #define NO_PRINT
  54. /* disable action features */
  55. //#define NO_ACTION_LAYER
  56. //#define NO_ACTION_TAPPING
  57. //#define NO_ACTION_ONESHOT
  58. //#define NO_ACTION_MACRO
  59. //#define NO_ACTION_FUNCTION