KeyboardRemap.DisableKey (byte, byte, byte, byte) Method

Disables a key definition on the indicated plane for the selected embedded or attached keyboard.

Syntax

[C#]
public static void DisableKey(
    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.

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