From 3e3cb195b6e3784d2a4c78fddcf3d9901158a502 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 3 Mar 2024 19:00:41 +0200 Subject: [PATCH] OSK disable command line parameter --- od-win32/win32.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/od-win32/win32.cpp b/od-win32/win32.cpp index 57de75e9..8b66890d 100644 --- a/od-win32/win32.cpp +++ b/od-win32/win32.cpp @@ -7137,6 +7137,10 @@ static int parseargs(const TCHAR *argx, const TCHAR *np, const TCHAR *np2) key_swap_hack = getval(np); return 2; } + if (!_tcscmp(arg, _T("osk"))) { + on_screen_keyboard = getval(np); + return 2; + } #endif return 0; -- 2.47.3