KeyboardRemap.SetKey (PLANES, byte, byte, KEYTYPE, KEYATTRIBUTE, MODIFIER, byte) Method

Assigns a key definition to an existing or new key on the embedded keyboard.

Syntax

[C#]
public static void GetDefaultKey(
    PLANES plane, 
    byte page, 
    byte usage, 
    KEYTYPE keyType, 
    KEYATTRIBUTE keyAttribute, 
    MODIFIER modifier, 
    byte value
);

Parameters

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.

keyType
Determines the primary function for the key. See Honeywell.Mobility.Device.Keyboard.KEYTYPE.

keyAttribute
Modifies operation of the key. See Honeywell.Mobility.Device.Keyboard.KEYATTRIBUTE.

modifier
Reserved. Set to None.

value
Actual value of the key. Depends on keyType and keyAttribute values.

Remarks

Although this method creates a new key if it did not already exist, there may be no way to invoke it if the key is not physically represented on the keypad.

Exceptions

KeyboardRemapException

More Information

KeyboardRemap Class