{
Typically you would get the scancode needed from the
lparam of a WM_KEYDOWN message.
If you are trying to work from an OnKeyDown handler
here you don't have that either,
so you have to fall back on MapVirtualKey.
The keystate array is obtained from GetKeyboardstate.
}

{: Obtain the character that will result from the virtual key
passed in.
@param vkey is the virtual key code, e.g. Key parameter of an
OnKeyDown handler.
@returns the character or '' if the key does not result in a
character. On rare occasions the function may return two
characters, e.g. if an accent key is pressed followed by another
character that does not have an accented version. }