Merge pull request #4786 from chungy/f8f12_everywhere

Use F8+F12 to release mouse on all platforms
This commit is contained in:
Miran Grča
2025-01-27 00:58:51 +01:00
committed by GitHub
3 changed files with 5 additions and 15 deletions

View File

@@ -595,6 +595,8 @@ c16stombs(char dst[], const uint16_t src[], int len)
}
#endif
# define MOUSE_CAPTURE_KEYSEQ "F8+F12"
#ifdef _WIN32
# if defined(__amd64__) || defined(_M_X64) || defined(__aarch64__) || defined(_M_ARM64)
# define LIB_NAME_GS "gsdll64.dll"
@@ -604,12 +606,10 @@ c16stombs(char dst[], const uint16_t src[], int len)
# define LIB_NAME_GPCL "gpcl6dll32.dll"
# endif
# define LIB_NAME_PCAP "Npcap"
# define MOUSE_CAPTURE_KEYSEQ "F8+F12"
#else
# define LIB_NAME_GS "libgs"
# define LIB_NAME_GPCL "libgpcl6"
# define LIB_NAME_PCAP "libpcap"
# define MOUSE_CAPTURE_KEYSEQ "Ctrl+End"
#endif
QMap<int, std::wstring> ProgSettings::translatedstrings;