Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
nvaccessAuto opened this issue Jan 1, 2010 · 2 comments
Closed

Comments

@nvaccessAuto
Copy link

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 http://www.experts-exchange.com/Programming/Languages/CPP/Q_21484783.html?qid=21484783

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.

@nvaccessAuto
Copy link
Author

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?
Changes:
Added labels: worksforme
State: closed

@nvaccessAuto
Copy link
Author

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

Changes:
Milestone changed from None to 0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant