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.

57 lines
1.8 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 0x1829
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER Bastard Keyboards
  23. #define PRODUCT Scylla
  24. #define MATRIX_ROWS 10
  25. #define MATRIX_COLS 6
  26. #define DIODE_DIRECTION ROW2COL
  27. #define MATRIX_ROW_PINS { D7, B5, F7, F6, B6 }
  28. #define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 }
  29. #define RGB_DI_PIN D2
  30. #define RGBLED_NUM 58
  31. #define RGBLED_SPLIT { 29, 29 }
  32. #define RGBLIGHT_LIMIT_VAL 120
  33. #define RGBLIGHT_ANIMATIONS
  34. #define DEBOUNCE 5
  35. #define SOFT_SERIAL_PIN D0
  36. #define MASTER_RIGHT
  37. #ifdef RGBLIGHT_ENABLE
  38. # define RGBLED_NUM 58
  39. # define RGBLED_SPLIT { 29, 29 }
  40. # define RGBLIGHT_LIMIT_VAL 50
  41. # define RGBLIGHT_ANIMATIONS
  42. #endif
  43. // RGB matrix support
  44. #ifdef RGB_MATRIX_ENABLE
  45. # define SPLIT_TRANSPORT_MIRROR
  46. # define DRIVER_LED_TOTAL 58 // Number of LEDs
  47. # define RGB_MATRIX_SPLIT { 29, 29 }
  48. # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
  49. # define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
  50. # define RGB_DISABLE_WHEN_USB_SUSPENDED
  51. # define RGB_MATRIX_KEYPRESSES
  52. #endif