Sign in Join
FPDoc Onlineexperiment

SetKeyboardDriver function

In unit keyboard

Set a new keyboard driver.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.