Table of Contents

Method MapVKtoChar

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

MapVKtoChar(VK)

Translates the specified virtual-key code and keyboard state to the corresponding Unicode character or characters using the Win32 API MapVirtualKey.

public static uint MapVKtoChar(ConsoleKeyMapping.VK vk)

Parameters

vk ConsoleKeyMapping.VK

Returns

uint

An un-shifted character value in the low order word of the return value. Dead keys (diacritics) are indicated by setting the top bit of the return value. If there is no translation, the function returns 0.