You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Calling the type method of the Controller class with an uppercase string as argument from a Windows host with US keyboard layout results in gibberish when the active window is VirtualBox running a Windows or a Linux guest also with US keyboard layout.
Platform and pynput version
Windows 10 Home 64-bit
pynput 1.7.7
To Reproduce
Requires pywinauto.
importtimefrompynput.keyboardimportControllerfrompywinauto.findwindowsimportfind_windowfromwin32guiimportSetForegroundWindowkb=Controller()
SetForegroundWindow(find_window(title_re='.*VirtualBox'))
time.sleep(1)
kb.type("ARROZ CON LECHE")
First run:
Second run:
The same text, but lowercase is typed correctly.
kb.type("arroz con leche")
Pressing Shift before typing and releasing it afterwards works as expected:
(#136 (comment))
kb.press(Key.shift)
kb.type("arroz con leche")
kb.release(Key.shift)
The text was updated successfully, but these errors were encountered:
Description
Calling the
type
method of theController
class with an uppercase string as argument from a Windows host with US keyboard layout results in gibberish when the active window is VirtualBox running a Windows or a Linux guest also with US keyboard layout.Platform and pynput version
Windows 10 Home 64-bit
pynput 1.7.7
To Reproduce
Requires pywinauto.
First run:
Second run:
The same text, but lowercase is typed correctly.
Pressing Shift before typing and releasing it afterwards works as expected:
(#136 (comment))
The text was updated successfully, but these errors were encountered: