Table of Contents

Interface IKeyboardDevice

Namespace
HP.LFT.SDK
Assembly
HP.LFT.SDK.dll

An interface that provides low-level keyboard operations.

public interface IKeyboardDevice

Methods

KeyDown(Keys)

Presses and holds the specified key using a keyboard virtual key.

void KeyDown(Keyboard.Keys key)

Parameters

key Keyboard.Keys

The keyboard code of the key to hold. Possible values: Keyboard.Keys

KeyDown(byte)

Presses and holds the specified key using a keyboard scan code.

void KeyDown(byte keyScanCode)

Parameters

keyScanCode byte

The keyboard scan code of the key to hold.

Remarks

Supports the PS/2 Keyboard scan code set 1.

KeyUp(Keys)

Releases the specified key based on its keyboard virtual key.

void KeyUp(Keyboard.Keys key)

Parameters

key Keyboard.Keys

The keyboard code of the key to release.Possible values: Keyboard.Keys

KeyUp(byte)

Releases the specified key based on its keyboard scan code.

void KeyUp(byte keyScanCode)

Parameters

keyScanCode byte

The keyboard scan code of the key to release.

Remarks

Supports the PS/2 Keyboard scan code set 1.

PressKey(Keys)

Presses the specified key using a keyboard virtual key.

void PressKey(Keyboard.Keys key)

Parameters

key Keyboard.Keys

The keyboard code of the key.Possible values: Keyboard.Keys

PressKey(byte)

Presses the specified key using a keyboard scan code.

void PressKey(byte keyScanCode)

Parameters

keyScanCode byte

The keyboard scan code of the key.

Remarks

Supports the PS/2 Keyboard scan code set 1.

SendString(string)

Types the specified string.

void SendString(string stringToSend)

Parameters

stringToSend string

The string to type.