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.

42 lines
1.2 KiB

  1. /*
  2. * Copyright 2021 JKDLAB. <jkdlab.co@gmail.com>
  3. * Copyright 2021 Jaehee <ljh34210329@gmail.com>
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 3 of the License,
  8. * or (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see https://www.gnu.org/licenses/.
  17. */
  18. #pragma once
  19. #include "config_common.h"
  20. #define VENDOR_ID 0x4934
  21. #define PRODUCT_ID 0x0101
  22. #define DEVICE_VER 0x0001
  23. #define MANUFACTURER JKDLAB.
  24. #define PRODUCT Binary_Monkey
  25. #define MATRIX_ROWS 1
  26. #define MATRIX_COLS 3
  27. #define MATRIX_ROW_PINS { D0 }
  28. #define MATRIX_COL_PINS { D1, D2, D3 }
  29. #define DIODE_DIRECTION COL2ROW
  30. #define DEBOUNCE 5
  31. #define USB_MAX_POWER_CONSUMPTION 100
  32. /* Bootmagic Lite key configuration */
  33. #define BOOTMAGIC_LITE_ROW 0
  34. #define BOOTMAGIC_LITE_COLUMN 2