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.

47 lines
1.4 KiB

  1. /*
  2. * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. #include "config_common.h"
  19. #define VENDOR_ID 0xA8F8
  20. #define PRODUCT_ID 0x1828
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER Bastard Keyboards
  23. #define PRODUCT Bastyl Mini
  24. #define MATRIX_ROWS 8
  25. #define MATRIX_COLS 6
  26. #define RGBLIGHT_LIMIT_VAL 180
  27. #define MATRIX_ROW_PINS { B5, F7, F6, B6 }
  28. #define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 }
  29. #define DIODE_DIRECTION ROW2COL
  30. #define RGB_DI_PIN D2
  31. #define RGBLED_NUM 42
  32. #define RGBLED_SPLIT { 21, 21 }
  33. #define RGBLIGHT_ANIMATIONS
  34. #define DEBOUNCE 5
  35. #define SOFT_SERIAL_PIN D0
  36. #define LOCKING_SUPPORT_ENABLE
  37. #define LOCKING_RESYNC_ENABLE
  38. #define F_SCL 400000L
  39. #define USB_POLLING_INTERVAL_MS 1
  40. #define MASTER_RIGHT