Hi i'm trying to show unicode text of my keys but i always get values between 1 and 0 when is some key pressed in keyboard state. Some way to get unicode text?
Code:
int sc = MapVirtualKey(pKeyboardStruct->vkCode, MAPVK_VK_TO_VSC);
int return1 = ToUnicode(pKeyboardStruct->vkCode, sc, keyboard_state, buffer, 1, 0);