Pykeylogger changes keyboard behavior
Brought to you by:
nanotube
I use the US International Keyboard (a Windows option)which allows me to type many other characters in addition to the standard US set. When using this keyboard the single and double quotes do not appear until you type a space or a character that cannot be modified with the single or double quote. When I type e.g. [single quote]e I get é.
However, with the Pykeylogger active I immediately get two single quotes or two double quotes when typing one. Same thing happens with ~ and ^. This means that Pykeylogger is useless as it totally modifies the behavior of the keyboard.
Regards,
Carl
carl@ullerup.com
Logged In: YES
user_id=1173666
Originator: NO
hi,
thanks for your comment.
i will have to look into that...
Logged In: NO
I have the same problem...
Regards,
Marvin
Logged In: YES
user_id=1857807
Originator: NO
Same thing happens with "~" "^" "´" "`"
the ascii codes for my keyboard
alt+126=> ~
alt+94=> ^
alt+239=> ´
alt+96=> `
Logged In: NO
Same with french keyboard, it is no more possible to type ê or ë, instead it prints ^^ or ¨¨ (these are composed cararacters, with a ^ key and the letter (e)) as the ^ key as been pressed 2 times.
Logged In: NO
same thing. fix this please
Logged In: YES
user_id=1173666
Originator: NO
Hi everyone who reported this:
Please try the latest from CVS and see if the problem persists.
Logged In: YES
user_id=1173666
Originator: NO
another thing to test: run the attached python program (ex3.py) - it will simply hook the kb, and print some info about keypresses, and do nothing else (press F12 to quit it). see if that alone still alters the keyboard behavior.
if it does, then this is just a bug in the pyhook library itself, and will have to be addressed through there...
please post back here with your testing results.
File Added: ex3.py
Logged In: NO
Hello:
I have run ex3.py with a spanish keyboard layout and it does not work. When you press keys like ^ or ' they appear doubled on screen (like ^^ and '') and you can't write characters like á or ü. When pressing F12 to quit the program this behaviour stops inmediately and keyboard begins to work fine again. Please send a bug report to pyHook developers if you think the problem is theirs.
Logged In: YES
user_id=1173666
Originator: NO
Hi
Thank you for testing! Yes, it does appear that it is the fault of pyHook for causing this behavior. I will file a bug with the pyHook project and post a link to the bug here when it's filed.
Thank you all again for reporting and testing. :)
Logged In: YES
user_id=1173666
Originator: NO
well, there /is/ a bug filed with pyhook about this issue (http://sourceforge.net/tracker/index.php?func=detail&aid=1624870&group_id=65529&atid=511317), as of end of 2006. i spoke with the project owner, and he told me that he hasn't even looked at the code in a while, and invited me to try to fix the bug myself. :)
so... i'll play around with this at some point when i have time and try to solve it. if anyone feels like jumping in and helping out, please feel free. :)
Logged In: YES
user_id=795002
Originator: NO
Just to clarify:
I think you aren't talking about single quote or double quote character, but backsticks, tilde and his friends, compound characters.
´,`,^,¨,~ that are used to generate é,ë,ê,è,ñ.
This characters have nothing to do with the single and double quotes characters ', ".
Logged In: YES
user_id=1173666
Originator: NO
Hi everyone
is anyone still monitoring this thread?
there has been a patch submitted to pyhook that is supposed to fix this bug - is anyone around that can test whether it works with the patched pyhook, if i post the patched pyhook installer here - or a compiled pykeylogger binary with the patched pyhook?
if anyone's alive and willing to test the deadkeys fix, post back here and let me know!
thanks :)
Hello nanotube,
I would like to test the patch but I can't find it, do you have a direct link ?
latest pyhook source
Hi,
Well, i did some testing of the latest patch, and found that it screwed up the toascii conversion, so i had to revert that back in order for it to work.
That said, also testing the previous version, by adding a non-english layout to my english version os, I did not see this bug...
For now, I am attaching the latest source and executable to this thread that you are welcome to test and report your results with. (at least one benefit of the latest code - it includes a bugfix that makes it work properly with the latest py2exe 0.6.8)
Please let me know if you are still seeing the deadkeys bug with it.
File Added: pyHook-1.5.1.zip
File Added: pyHook-1.5.1.win32-py2.5.exe
build of the latest pyhook source
I've tested it with the latest 1.5.1 version, but still getting the same issue as reported earlier. So unfortunately the patch didn't work, at least not with my US International keyboard layout (=windows setting).
Hi,
I tried the program with a Spanish keyboard and I have problems with the accents as well. If I press the accent and a vowel (´+a) I just see the vowel a, instead of á. I have to press three times the accent key and then the vowel to get the right character.
I tried from source the version 1.0.5 in windows vista 32bit, with Python 2.5.4 and pyHook 1.5.1.
Best regards
Hi, I´m testing it with spanish keyboard, and getting the same awfull problem.
Is there any good news about it? How can I try to solve it by myself ??
Hi. I wanted to try this before donating and I'm getting this problem. I'm using a Spanish keyboard and can't write áéíóú while the keylogger is active. It's almost 2019. Was this solved eventually?