SetKeyboardDriver
Set a new keyboard driver.
Declaration
Source position: keybrdh.inc line 189
function SetKeyboardDriver(const Driver: TKeyboardDriver) : Boolean;
Description
SetKeyBoardDriver sets the keyboard driver to Driver, if the current keyboard driver is not yet initialized. If the current keyboard driver is initialized, then SetKeyboardDriver does nothing. Before setting the driver, the currently active driver should be disabled with a call to DoneKeyboard .
The function returns True if the driver was set, False if not.
For more information on setting the keyboard driver, see kbddriver .
Errors
None.
See also
Name | Description |
---|---|
DoneKeyboard | Deactivate keyboard driver. |
GetKeyboardDriver | Return the current keyboard driver record. |