PyUserInput
PyUserInput copied to clipboard
k.type_string method doesn't work as expected
Hello. I try this small code piece.
from pymouse import PyMouse
from pykeyboard import PyKeyboard
m = PyMouse()
k = PyKeyboard()
x_dim, y_dim = m.screen_size()
m.click(x_dim/2, y_dim/2, 1)
k.type_string("hello")
Instead of "hello" it writes "odllt" string. Any ideas. Thanks
What is your OS, language and keyboard layout? I think that at least on some OSes, it only works reliably with US QWERTY layouts.
Hello. My operating system is Ubuntu. And I use Turkish F keyboard layout.