Open topic with navigation

# Keyboard Class

A class that enables low-level keyboard device operations.

From LeanFT 14.51: When working in a grid configuration, use IDesktopEnvironment.Keyboard to get the IKeyboardDevice object, which enables keyboard operations on a specific environment or grid node.

C# Syntax

    public class Keyboard

Inheritance Hierarchy

System.Object
HP.LFT.SDK.Keyboard

Public Constructors

| Name | Description
--- | --- | ---
| Keyboard Constructor |

Top
Public Methods

| Name | Description
--- | --- | ---
| KeyDown | Overloaded. Presses and holds the specified key using a keyboard scan code.
| KeyUp | Overloaded. Releases the specified key based on its keyboard scan code.
| PressKey | Overloaded. Presses the specified key using a keyboard scan code.
| SendString | Types the specified string.

Top