bytes = ToAsciiEx(vk, scancode
, keyboardstate
, flags
, hlayout
)
Translates the specified virtual-key code and keyboard state to the corresponding
character or characters.
Parameters
vk : int
The virtual key code.scancode : int
The scan code.keyboardstate : bytes
A string of exactly 256 characters.flags=0 : int
hlayout=None : handle
The keyboard layout to use