Skip to main content

KeyInterop Class

Contains methods used to translate a Windows virtual/physical key to an Avalonia Key.

Definition

Namespace: Avalonia.Win32.Input
Assembly: Avalonia.Win32 (in Avalonia.Win32.dll)

public static class KeyInterop
View Source
InheritanceObject → KeyInterop

Methods

GetKeySymbol(Int32, Int32)Gets a key symbol from a Windows virtual-key and key data.
KeyFromVirtualKey(Int32, Int32)Gets an Avalonia key from a Windows virtual-key and key data.
PhysicalKeyFromVirtualKey(Int32, Int32)Gets a physical Avalonia key from a Windows virtual-key and key data.
VirtualKeyFromKey(Key)Gets a Windows virtual-key from an Avalonia key.

See Also

Reference

Avalonia.Win32.Input Namespace