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.

48 lines
1.4 KiB

  1. /*Copyright 2019 Lyso1
  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. #define VENDOR_ID 0x7856
  16. #define PRODUCT_ID 0x6169
  17. #define DEVICE_VER 0x0001
  18. #define MANUFACTURER Lyso1
  19. #define PRODUCT lefishe
  20. /* key matrix size */
  21. #define MATRIX_ROWS 5
  22. #define MATRIX_COLS 18
  23. /* key matrix pins */
  24. #define MATRIX_ROW_PINS { B7, F7, F6, F5, F4 }
  25. #define MATRIX_COL_PINS { F0, F1, D5, C7, C6, B6, B5, B4, D7, D6, D4, D3, D2, D1, D0, B3, B2, B1 }
  26. #define UNUSED_PINS
  27. /* COL2ROW or ROW2COL */
  28. #define DIODE_DIRECTION COL2ROW
  29. /* Set 0 if debouncing isn't needed */
  30. #define DEBOUNCE 5
  31. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  32. #define LOCKING_SUPPORT_ENABLE
  33. /* Locking resynchronize hack */
  34. #define LOCKING_RESYNC_ENABLE