config.h 589 B

12345678910111213141516171819202122
  1. // Copyright 2023 Peter.Falken (@PeterFalken)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. // Fix warning - "Attached USB accessory uses too much power."
  5. #ifndef USB_MAX_POWER_CONSUMPTION
  6. #define USB_MAX_POWER_CONSUMPTION 100
  7. #endif
  8. // Fix unresponsiveness on wake from sleep
  9. #ifndef USB_SUSPEND_WAKEUP_DELAY
  10. #define USB_SUSPEND_WAKEUP_DELAY 200
  11. #endif
  12. // Space optimizations
  13. #undef LOCKING_SUPPORT_ENABLE
  14. #undef LOCKING_RESYNC_ENABLE
  15. // Disable animations for RGB underglow & key matrix
  16. #define DISABLE_RGB_LIGHT_ANIMATIONS
  17. #define DISABLE_RGB_MATRIX_ANIMATIONS