config.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Dan's Magicforce 68 (MF68) QMK Keyboard
  3. * Copyright (C) Dan <https://github.com/delivrance>
  4. *
  5. * This file is part of Dan's MF68 QMK Keyboard.
  6. *
  7. * Dan's MF68 QMK Keyboard is free software: you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation, either version 3 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * Dan's MF68 QMK Keyboard is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with Dan's MF68 QMK Keyboard. If not, see <https://www.gnu.org/licenses/>.
  19. */
  20. #pragma once
  21. #undef MANUFACTURER
  22. #define MANUFACTURER Dan
  23. #undef PRODUCT
  24. #define PRODUCT Magicforce 68 QMK
  25. #undef BACKLIGHT_LEVELS
  26. #define BACKLIGHT_LEVELS 20
  27. // Disable backlight breathing
  28. #undef BACKLIGHT_BREATHING
  29. // Set USB polling rate to 1000 Hz
  30. #define USB_POLLING_INTERVAL_MS 1
  31. // Enable NKRO on boot
  32. #define FORCE_NKRO
  33. // Backlight idle timeout in seconds
  34. #define BACKLIGHT_IDLE_TIMEOUT 1200