Sign in Join
FPDoc Onlineexperiment

TKeyboardDriver record

In unit keyboard

Keyboard driver structure.

Declaration

pascal
TKeyboardDriver = record

Description

The TKeyboardDriver record can be used to install a custom keyboard driver with the SetKeyboardDriver function.

The various fields correspond to the different functions of the keyboard unit interface. For more information about this record see kbddriver

See also

Fields

InitDriverHandler called when initializing keyboard driver.
DoneDriverHandler called when unloading keyboard driver.
GetKeyEventBlocking handler called when a key event is requested.
PollKeyEventNon blocking handler when checking for presence of a key event.
GetShiftStateHandler called to request the current shift state.
TranslateKeyEventTranslate key event to a suitable ASCII representation.
TranslateKeyEventUniCodeTranslate key event to a suitable Unicode representation.
GetEnhancedKeyEvent
PollEnhancedKeyEvent

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