config.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 0x6570
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER MelGeek
  23. #define PRODUCT Z70Ultra
  24. /* COL2ROW, ROW2COL*/
  25. #define DIODE_DIRECTION COL2ROW
  26. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  27. #define DEBOUNCE 3
  28. /* disable these deprecated features by default */
  29. #define NO_ACTION_MACRO
  30. #define NO_ACTION_FUNCTION
  31. #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
  32. #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
  33. #define RGB_MATRIX_KEYPRESSES
  34. #define RGB_MATRIX_LED_PROCESS_LIMIT 4
  35. #define RGB_MATRIX_LED_FLUSH_LIMIT 26
  36. #define DISABLE_RGB_MATRIX_SPLASH
  37. #define DISABLE_RGB_MATRIX_MULTISPLASH
  38. #define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
  39. //#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
  40. #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
  41. #define DRIVER_ADDR_1 0b0110000
  42. #define DRIVER_ADDR_2 0b0110000 // this is here for compliancy reasons.
  43. #define DRIVER_COUNT 1
  44. #define DRIVER_1_LED_TOTAL 69
  45. #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
  46. #define DRIVER_INDICATOR_LED_TOTAL 6