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.9 KiB

  1. /* Copyright 2020 null-ll
  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. #include "config_common.h"
  18. #define VENDOR_ID 0x6B62
  19. #define PRODUCT_ID 0x8989
  20. #define DEVICE_VER 0x0001
  21. #define MANUFACTURER Clackery
  22. #define PRODUCT Basketweave
  23. /* key matrix size */
  24. #define MATRIX_ROWS 5
  25. #define MATRIX_COLS 15
  26. #define MATRIX_ROW_PINS { A6, C6, C7, A7, A5 }
  27. #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, B0, B1, B2, D5, D6, C5, C4, C3, C2, C1 }
  28. #define UNUSED_PINS
  29. /* COL2ROW, ROW2COL*/
  30. #define DIODE_DIRECTION COL2ROW
  31. #define USB_MAX_POWER_CONSUMPTION 100
  32. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  33. #define DEBOUNCE 5
  34. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  35. #define LOCKING_SUPPORT_ENABLE
  36. /* Locking resynchronize hack */
  37. #define LOCKING_RESYNC_ENABLE
  38. /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
  39. * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
  40. */
  41. // #define GRAVE_ESC_CTRL_OVERRIDE
  42. #define ENCODERS_PAD_A { D7 }
  43. #define ENCODERS_PAD_B { C0 }
  44. #define ENCODER_RESOLUTION 4
  45. #define TAP_CODE_DELAY 10
  46. /* Bootmagic Lite key configuration */
  47. #define BOOTMAGIC_LITE_ROW 0
  48. #define BOOTMAGIC_LITE_COLUMN 0