On Tue Mar 31 15:21:42 2026 +0000, Marc-Aurel Zent wrote:
In theory yes, but I believe ImeProcessKey does a bit more than that still... It seems similar to a few things macdrv_ImeProcessKey does. At the very least, it returns false for VK_MENU, VK_CAPITAL, VK_CONTROL, and VK_SHIFT. Also, sometimes not VK_NUMPAD0 and friends, and also VK_BACK, when no composition is active. It doesn't seem to care about up or down keypresses though... I can try to refactor some of that logic back into the win32 ImeProcessKey side of things, and what does seem to work differently from native leave in macdrv_ImeToAsciiEx. Well sure maybe there's a bit more than that but I meant that we shouldn't need to call into the user drivers for that, it could be implemented in the common PE code so we move all the driver logic to the new driver entry instead of splitting it.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9992#note_134535