KeyboardRemap.KeyDefaultExists (byte, byte, byte, byte) Method

Determines if a default definition for a key exists on the selected embedded or attached keyboard.

Syntax

[C#]
public static bool KeyDefaultExists(
    byte keyboard,
    byte plane, 
    byte page, 
    byte usage, 
);		

Parameters

keyboard
Indicates the keyboard to be affected by this operation:

plane
Indicates the plane whose key definition is targeted. See Honeywell.Mobility.Device.Keyboard.PLANES.

page
Page value needed to uniquely identify the key.

usage
Usage value needed to uniquely identify the key.

Return Values

Returns true if a key definition exists, and returns false otherwise.

Exceptions

KeyboardRemapException

Remarks

If more than one external keyboard is attached to the computer, call GetKeyboardID to return the unique identifier for each attached keyboard.

More Information

KeyboardRemap Class