diff options
author | Simon Rettberg | 2020-08-25 16:52:57 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-08-25 16:52:57 +0200 |
commit | 468c5738eca2d3f606c1cb8896da3f31b5799257 (patch) | |
tree | ee08597c594d44a0278a381f9c47840240a70a41 /core/modules/run-virt | |
parent | [run-virt] Pass debug mode to openslx.exe via .ini (diff) | |
download | mltk-468c5738eca2d3f606c1cb8896da3f31b5799257.tar.gz mltk-468c5738eca2d3f606c1cb8896da3f31b5799257.tar.xz mltk-468c5738eca2d3f606c1cb8896da3f31b5799257.zip |
[run-virt] openslx.exe: Remove unused function
Diffstat (limited to 'core/modules/run-virt')
-rwxr-xr-x | core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe | bin | 61952 -> 61952 bytes | |||
-rw-r--r-- | core/modules/run-virt/winres/src/winres.c | 53 |
2 files changed, 0 insertions, 53 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe b/core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe Binary files differindex 5e44531e..254143f5 100755 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/data/openslx.exe diff --git a/core/modules/run-virt/winres/src/winres.c b/core/modules/run-virt/winres/src/winres.c index 3684e1d7..7020b1a5 100644 --- a/core/modules/run-virt/winres/src/winres.c +++ b/core/modules/run-virt/winres/src/winres.c @@ -806,59 +806,6 @@ static int setResWinLegacy(struct resolution *res, int nres) return 0; } -static void gfxReset() -{ - INPUT keys[8] = { - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = 0, - .ki.wVk = VK_LWIN, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = 0, - .ki.wVk = VK_LSHIFT, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = 0, - .ki.wVk = VK_LCONTROL, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = 0, - .ki.wVk = VkKeyScanA('b') & 0xff, - }, - // UP - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = KEYEVENTF_KEYUP, - .ki.wVk = VkKeyScanA('b') & 0xff, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = KEYEVENTF_KEYUP, - .ki.wVk = VK_LWIN, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = KEYEVENTF_KEYUP, - .ki.wVk = VK_LSHIFT, - }, - { - .type = INPUT_KEYBOARD, - .ki.dwFlags = KEYEVENTF_KEYUP, - .ki.wVk = VK_LCONTROL, - }, - }; - UINT ret = SendInput(8, keys, sizeof(INPUT)); - if (ret == 0) { - dalog("SendInput failed: %d", (int)GetLastError()); - } else { - Sleep(250); - } -} - static int setResVMware(struct resolution *res, int nres) { static wchar_t path[MAX_PATH] = L""; |