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.

40 lines
1.3 KiB

  1. /*
  2. * Copyright 2020 Quentin LEBASTARD <qlebastard@gmail.com>
  3. * Copyright 2020 Anthony MARIN <anthony@hidtech.ca>
  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 2 of the License, or
  8. * (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 <http://www.gnu.org/licenses/>.
  17. */
  18. #pragma once
  19. #include "config_common.h"
  20. #define VENDOR_ID 0xA8F7
  21. #define PRODUCT_ID 0x1827
  22. #define DEVICE_VER 0x0001
  23. #define MANUFACTURER HID Technologies
  24. #define PRODUCT Bastyl
  25. #define MATRIX_ROWS 10
  26. #define MATRIX_COLS 6
  27. #define DIODE_DIRECTION ROW2COL
  28. #define MATRIX_ROW_PINS { D7, B5, F7, F6, B6 }
  29. #define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 }
  30. #define RGB_DI_PIN D2
  31. #define RGBLED_NUM 38
  32. #define RGBLIGHT_SPLIT
  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 MASTER_RIGHT