TKeyboardDriver

Keyboard driver structure

Declaration

Source position: keybrdh.inc line 130

Type
TKeyboardDriver = record
  InitDriver : procedure;
  DoneDriver : procedure;
  GetKeyEvent : function : TKeyEvent;
  PollKeyEvent : function : TKeyEvent;
  GetShiftState : function : Byte;
  TranslateKeyEvent : function(KeyEvent: TKeyEvent) : TKeyEvent;
  TranslateKeyEventUniCode : function(KeyEvent: TKeyEvent) : TKeyEvent;
end

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

Name Description
kbddriver Writing a keyboard driver
SetKeyboardDriver Set a new keyboard driver.

results matching ""

    No results matching ""