Table of Contents

Method GetConsoleKeyFromKey

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetConsoleKeyFromKey(uint, ConsoleModifiers, out uint, out uint)

Get the ConsoleKey from a Key.

public static uint GetConsoleKeyFromKey(uint keyValue, ConsoleModifiers modifiers, out uint scanCode, out uint outputChar)

Parameters

keyValue uint

The key value.

modifiers ConsoleModifiers

The modifiers keys.

scanCode uint

The resulting scan code.

outputChar uint

The resulting output character.

Returns

uint

The ConsoleKey or the outputChar.