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.

61 lines
1.7 KiB

  1. /* Copyright 2020 Bachoo
  2. *
  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. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. /* USB Device descriptor parameter */
  18. #define VENDOR_ID 0x6400
  19. #define PRODUCT_ID 0x2371
  20. #define DEVICE_VER 0x0001
  21. #define MANUFACTURER Bachoo
  22. #define PRODUCT Nemui
  23. /* key matrix size */
  24. #define MATRIX_ROWS 5
  25. #define MATRIX_COLS 15
  26. #define MATRIX_COL_PINS { B2, B1, B0, B10, B11, A7, B12, B13, B14, A10, A9, A8, B7, B8, B9 }
  27. #define MATRIX_ROW_PINS { A3, A4, A5, A6, A2 }
  28. #define DIODE_DIRECTION COL2ROW
  29. /* define if matrix has ghost */
  30. //#define MATRIX_HAS_GHOST
  31. /* Set 0 if debouncing isn't 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. /*
  38. * Feature disable options
  39. * These options are also useful to firmware size reduction.
  40. */
  41. /* disable debug print */
  42. //#define NO_DEBUG
  43. /* disable print */
  44. //#define NO_PRINT
  45. /* disable action features */
  46. //#define NO_ACTION_LAYER
  47. //#define NO_ACTION_TAPPING
  48. //#define NO_ACTION_ONESHOT
  49. //#define NO_ACTION_MACRO
  50. //#define NO_ACTION_FUNCTION