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.

35 lines
1.1 KiB

  1. /* Copyright 2021 Joshua T.
  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. #include QMK_KEYBOARD_H
  17. #include "replicaJunction.h"
  18. __attribute__ ((weak))
  19. void matrix_scan_user_kb(void) { }
  20. // Runs on every matrix scan. Be careful what goes here - you can really impact the
  21. // responsiveness of your keyboard if you add too much in this function.
  22. void matrix_scan_user(void) {
  23. #ifdef USER_MOUSE_JIGGLE_ENABLE
  24. matrix_scan_mouse_jiggle();
  25. #endif
  26. #ifdef USER_SUPER_ALT_TAB_ENABLE
  27. matrix_scan_super_alt_tab();
  28. #endif
  29. matrix_scan_user_kb();
  30. }