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.

61 lines
1.6 KiB

  1. /* Copyright 2021 moults31
  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. #pragma once
  17. #include QMK_KEYBOARD_H
  18. #include "vscode.h"
  19. #include "obs.h"
  20. #include "gdb.h"
  21. bool moults31_tap_custom_code(uint16_t keycode);
  22. enum custom_keycodes {
  23. // VSCode keycodes
  24. M_VSC_TERMFOCUS = SAFE_RANGE,
  25. M_VSC_SIDEBARFOCUS,
  26. M_VSC_SIDEBARCLOSE,
  27. M_VSC_DBGCNSLFOCUS,
  28. M_VSC_EDGRPNXT,
  29. M_VSC_EDGRPPRV,
  30. M_VSC_MVEDTRNXTGRP,
  31. M_VSC_MVEDTRPRVGRP,
  32. M_VSC_VIEWSIZEINC,
  33. M_VSC_VIEWSIZEDEC,
  34. M_VSC_FILECLOSE,
  35. M_VSC_FILENXT,
  36. M_VSC_FILEPRV,
  37. // GDB keycodes (for vscode debugger)
  38. M_GDB_PLAY,
  39. M_GDB_PAUSE,
  40. M_GDB_STEPOVER,
  41. M_GDB_STEPIN,
  42. M_GDB_STEPOUT,
  43. M_GDB_RESTART,
  44. M_GDB_STOP,
  45. // MS Teams keycodes
  46. M_MST_CODEBLOCK,
  47. // OBS keycodes
  48. M_OBS_BRB,
  49. M_OBS_GAME,
  50. M_OBS_JSTCHT,
  51. M_OBS_DSKT_MUTE,
  52. M_OBS_DSKT_UNMUTE,
  53. M_OBS_VOICE_MUTE,
  54. M_OBS_VOICE_UNMUTE,
  55. M_OBS_MOOSIC_MUTE,
  56. M_OBS_MOOSIC_UNMUTE,
  57. };