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.

28 lines
524 B

  1. // Copyright 2022 Dan Hertz (@dhertz)
  2. // SPDX-License-Identifier: GPL-3.0
  3. #ifndef USERSPACE
  4. #define USERSPACE
  5. #include "quantum.h"
  6. #define SRCH_CTL CTL_T(KC_F19)
  7. #define LYR_SPC LT(1, KC_SPC)
  8. #define NC_CTL CTL_T(KC_F18)
  9. enum custom_keycodes {
  10. HSH_TLD = SAFE_RANGE,
  11. CTRL_A,
  12. CMD_ALT_C,
  13. CMD_SFT_L,
  14. ISO_COUNTRY_CODE,
  15. CMD_TAB_CMD,
  16. CMD_GRV_CMD,
  17. CMD_SFT_A,
  18. CMD_SFT_ALT_A,
  19. NEW_SAFE_RANGE,
  20. };
  21. void mod_or_mod_with_macro(keyrecord_t *record, uint16_t kc_mod, char* cmd_or_macro);
  22. #endif