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.

57 lines
1.6 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. /* key matrix size */
  16. #define MATRIX_ROWS 8
  17. #define MATRIX_COLS 5
  18. /*Keyboard Matrix Assignments */
  19. #define DIRECT_PINS { \
  20. { C6, F7, F6, F5, F4 }, \
  21. { D7, B6, B2, B3, B1 }, \
  22. { E6, D4, D0, D1, D3 }, \
  23. { B4, B5, NO_PIN, NO_PIN, NO_PIN } \
  24. }
  25. #define DIRECT_PINS_RIGHT { \
  26. { F4, F5, F6, F7, C6 }, \
  27. { B1, B3, B2, B6, D7 }, \
  28. { D3, D1, D0, D4, E6 }, \
  29. { B5, B4, NO_PIN, NO_PIN, NO_PIN } \
  30. }
  31. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  32. #define DEBOUNCE 5
  33. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  34. #define LOCKING_SUPPORT_ENABLE
  35. /* Locking resynchronize hack */
  36. #define LOCKING_RESYNC_ENABLE
  37. /* Serial settings */
  38. #define USE_SERIAL
  39. /* serial.c configuration for split keyboard */
  40. #define SOFT_SERIAL_PIN D2
  41. // EE_HANDS MASTER_RIGHT MASTER_LEFT
  42. #define MASTER_RIGHT