Dead keys get inserted and break typing of accented characters #3

nvaccessAuto opened this Issue Jan 1, 2010 · 2 comments

1 participant


Reported by jteh on 2007-04-12 23:53
In several non-English keyboard layouts, accented characters are entered by first pressing a special accent key (a dead key), followed by pressing the character to be accented. The dead key normally produces no output. Output only occurs once the second character has been pressed and should only be a single character. pyHook breaks this behaviour. With pyHook hooking the keyboard, dead keys produce output immediately when typed and do not have any effect on the second character, thus breaking typing of these accented characters completely.

This seems to be an issue with the !ToAsciiEx function which is used by pyHook. It seems that !ToAsciiEx flushes the keyboard buffer when a dead key is typed. More info can be found at

pyHook needs to be fixed. We should be using !ToUnicodeEx anyway, as many international characters can't be represented in ASCII, and should investigate whether it also exhibits this problem.


Comment 1 by pvagner on 2007-05-25 08:03
This no longer seems to be a problem in trunk. Should this ticket be closed?
Added labels: worksforme
State: closed


Comment 2 by aleksey_s on 2008-04-14 10:04

Milestone changed from None to 0.6

@nvaccessAuto nvaccessAuto added this to the 2009.1 milestone Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment