Using an US keyboard layout modified with the CAPS LOCK replace by KANA and I mapped french accents to a KANA+letter.
when typing a KANA+letter, it doesn't show up.
Typing CAPSLOCK+e should give 'ê' according to my keyboard mapping (works in all other windows apps)
9.0.0065
Windows 10 21H2
This worked in 8.2.4803 and did not work in 8.2.4807 (and anything after that). The issue is in gvim, vim behaves as expected. Obviously in my other windows applications (ie: notepad,chrome) this works. Using KbdEdit to for the KANA mapping.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
(By chance i was working on PR (#10687) to fix something after same commit.)
Main difference in that commit (8.2.4803) was that instead of relying on WIN32 API TranslateMessage() call to interpret the WM_KEYDOWN and convert them in a sequence of WM_CHAR events, we began to simulate that call via sequence of following:
// Translate the virtual key according to the current keyboard
// layout.
scan_code = MapVirtualKey(vk, MAPVK_VK_TO_VSC); // Convert the scan-code into a sequence of zero or more unicode
// codepoints.
// If this is a dead key ToUnicode returns a negative value.
len = ToUnicode(vk, scan_code, keyboard_state, ch, ARRAY_LENGTH(ch), 0);
Those calls create translated unicode character(s?), which are entered by user, inside buffer, pointed by "ch". It is supposed to work for the cases of "official" shift keys only, as far as i understand it - i.e. Shift/Alt/Ctrl. Chord of arbitrary other buttons is not manageable in that way - may be for KANA key it would be still possible to get desired 'ê' respond from ToUnicode() - but it would need to make KANA generally recognized Shift-like modifier?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()