[PATCH 0/1] MR10778: patch: Wine InitializeTouchInjection for user32.dll
This patch adds support for [World Creator ](https://www.world-creator.com/en/index.phtml)and allows the application to load successfully in Proton 10. I verified locally using a Bottles configuration. {width=900 height=507} -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10778
From: Joe Meyer <joelawm@gmail.com> --- dlls/user32/input.c | 9 +++++++++ dlls/user32/user32.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/user32/input.c b/dlls/user32/input.c index 48b38166b75..74c52df9e1b 100644 --- a/dlls/user32/input.c +++ b/dlls/user32/input.c @@ -688,6 +688,15 @@ BOOL WINAPI UnregisterTouchWindow( HWND hwnd ) return TRUE; } +/***************************************************************************** + * InitializeTouchInjection (USER32.@) + */ +BOOL WINAPI InitializeTouchInjection( UINT32 max_count, DWORD dw_mode ) +{ + FIXME( "max_count %u, dw_mode %#lx stub!\n", max_count, dw_mode ); + return TRUE; +} + /***************************************************************************** * GetGestureInfo (USER32.@) */ diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index b8939646668..12cc31b3e34 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -749,7 +749,7 @@ # @ stub InitializeLpkHooks # @ stub InitializePointerDeviceInjection # @ stub InitializePointerDeviceInjectionEx -# @ stub InitializeTouchInjection +@ stdcall InitializeTouchInjection(long long) # @ stub InjectDeviceInput # @ stub InjectGenericHidInput # @ stub InjectKeyboardInput -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10778
participants (2)
-
Joe Meyer -
Joe Meyer (@joelawm)