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.

51 lines
1.8 KiB

  1. /* Copyright 2020 MelGeek <melgeek001365@gmail.com>
  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. /* USB Device descriptor parameter */
  19. #define VENDOR_ID 0xEDED
  20. #define PRODUCT_ID 0x0065
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER MelGeek
  23. #define PRODUCT MJ65
  24. /* key matrix size */
  25. #define MATRIX_ROWS 5
  26. #define MATRIX_COLS 15
  27. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  28. #define DEBOUNCE 3
  29. /* disable these deprecated features by default */
  30. #define NO_ACTION_MACRO
  31. #define NO_ACTION_FUNCTION
  32. #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
  33. #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
  34. #define RGB_MATRIX_KEYPRESSES
  35. #define RGB_MATRIX_LED_PROCESS_LIMIT 4
  36. #define RGB_MATRIX_LED_FLUSH_LIMIT 26
  37. #define DISABLE_RGB_MATRIX_SPLASH
  38. #define DISABLE_RGB_MATRIX_MULTISPLASH
  39. #define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
  40. //#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
  41. #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
  42. #define DRIVER_ADDR_1 0b0110000
  43. #define DRIVER_ADDR_2 0b0110000 // this is here for compliancy reasons.
  44. #define DRIVER_COUNT 1