SavinaRoja / PyUserInput

A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.
GNU General Public License v3.0
1.07k stars 244 forks source link

k.type_string('\Sigma') gives 'ßSigma' #62

Open MartinThoma opened 9 years ago

MartinThoma commented 9 years ago

The following code

from pykeyboard import PyKeyboard
k = PyKeyboard()
k.type_string(classification_guess)

gives:

ßSigma

I have Python 3.4.2, Ubuntu 14.10 (MATE), PyUserInput 0.1.9 (installed via pip).

pepijndevos commented 9 years ago

What is your keyboard layout?

MartinThoma commented 9 years ago

German (de)

pepijndevos commented 9 years ago

Yea, it only works correctly with US layouts. Patches welcome. I have no idea how to do this, let alone on all three platforms.

MartinThoma commented 9 years ago

Ok, good to know. I don't have any idea how to fix this either.

However, I have a work-around. I copy it to the clipboard and make Ctrl + V. This should work on Linux and Windows for most applications (I don't have any idea about mac, but I hope it works, too).

edwanvi commented 9 years ago

Can someone close issues like this, where the problem seems to be solved and the issue is left hanging?

MartinThoma commented 9 years ago

@tkdberger The issue is not solved. It should probably be closed anyway, but be marked with a label "wont-fix"

edwanvi commented 9 years ago

Oh, ok. Sorry.

On 5/16/15, Martin Thoma notifications@github.com wrote:

@tkdberger The issue is not solved. It should probably be closed anyway, but be marked with a label "wont-fix"


Reply to this email directly or view it on GitHub: https://github.com/SavinaRoja/PyUserInput/issues/62#issuecomment-102576037

Sincerely, Caleb