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.

24 lines
665 B

  1. #include "curry.h"
  2. #include "leader.h"
  3. LEADER_EXTERNS();
  4. void matrix_scan_user(void) {
  5. static bool has_ran_yet;
  6. if (!has_ran_yet) {
  7. has_ran_yet = true;
  8. startup_user();
  9. }
  10. #if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE)
  11. matrix_scan_rgb();
  12. #endif // RGBLIGHT_ENABLE
  13. LEADER_DICTIONARY() {
  14. leading = false;
  15. leader_end();
  16. SEQ_ONE_KEY(KC_F) { SEND_STRING(SS_LCTL("akf")); } // Select all and format
  17. SEQ_ONE_KEY(KC_P) { SEND_STRING(SS_LCTL(SS_LSFT("4"))); } // Screenshot region
  18. SEQ_TWO_KEYS(KC_D, KC_D) { SEND_STRING(SS_LCTL("ac")); } // Copy all
  19. }
  20. matrix_scan_keymap();
  21. }