KeyboardRemap.ExportKeys (byte, string) Method

Creates an XML file with the definitions for the selected embedded or attached keyboard.

Syntax

[C#]
public static void ExportKeys( byte keyboard, string filename );

Parameters

keyboard
Indicates the keyboard to be affected by this operation:

filename
Name of the XML file to write.

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