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.

65 lines
1.8 KiB

  1. /* Copyright 2020 Sergi Meseguer <zigotica@gmail.com>
  2. This program is free software: you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation, either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. */
  13. #pragma once
  14. #include "config_common.h"
  15. /* USB Device descriptor parameter */
  16. #define VENDOR_ID 0x7A74
  17. #define PRODUCT_ID 0x0002
  18. #define DEVICE_VER 0x0001
  19. #define MANUFACTURER zigotica
  20. #define PRODUCT z34
  21. /* key matrix size */
  22. #define MATRIX_ROWS 8
  23. #define MATRIX_COLS 5
  24. /*Keyboard Matrix Assignments */
  25. #define DIRECT_PINS { \
  26. { C6, F7, F6, F5, F4 }, \
  27. { D7, B6, B2, B3, B1 }, \
  28. { E6, D4, D0, D1, D3 }, \
  29. { B4, B5, NO_PIN, NO_PIN, NO_PIN } \
  30. }
  31. #define DIRECT_PINS_RIGHT { \
  32. { F4, F5, F6, F7, C6 }, \
  33. { B1, B3, B2, B6, D7 }, \
  34. { D3, D1, D0, D4, E6 }, \
  35. { B5, B4, NO_PIN, NO_PIN, NO_PIN } \
  36. }
  37. #define UNUSED_PINS
  38. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not 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. /* Serial settings */
  45. #define USE_SERIAL
  46. /* serial.c configuration for split keyboard */
  47. #define SOFT_SERIAL_PIN D2
  48. // EE_HANDS MASTER_RIGHT MASTER_LEFT
  49. #define MASTER_RIGHT