Show / Hide Table of Contents

Class KeyboardLayout

Implements default keyboard layout

Inheritance
System.Object
KeyboardLayout
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class KeyboardLayout

Constructors

KeyboardLayout()

Initializes a new instance of the KeyboardLayout class.

Declaration
public KeyboardLayout()

Fields

keyboardLayout

The keyboard layout

Declaration
protected readonly Dictionary<KeyCode, char> keyboardLayout
Field Value
Type Description
System.Collections.Generic.Dictionary<EmptyKeys.UserInterface.Input.KeyCode, System.Char>

keyboardShiftLayout

The keyboard shift layout

Declaration
protected readonly Dictionary<KeyCode, char> keyboardShiftLayout
Field Value
Type Description
System.Collections.Generic.Dictionary<EmptyKeys.UserInterface.Input.KeyCode, System.Char>

virtualKeyboardMap

The virtual keyboard map

Declaration
protected readonly List<VirtualKeyboardMapItem> virtualKeyboardMap
Field Value
Type Description
System.Collections.Generic.List<VirtualKeyboardMapItem>

Properties

VirtualKeyboardMap

Gets the virtual keyboard map.

Declaration
public List<VirtualKeyboardMapItem> VirtualKeyboardMap { get; }
Property Value
Type Description
System.Collections.Generic.List<VirtualKeyboardMapItem>

The virtual keyboard map.

Methods

GetInputCharacter(KeyCode, Boolean, out Char)

Gets the input character.

Declaration
public bool GetInputCharacter(KeyCode keyCode, bool isShiftKeyPressed, out char inputChar)
Parameters
Type Name Description
EmptyKeys.UserInterface.Input.KeyCode keyCode

The key code.

System.Boolean isShiftKeyPressed

if set to true [is shift key pressed].

System.Char inputChar

The input character.

Returns
Type Description
System.Boolean

true if key code has mapping

Back to top Generated by DocFX