[Overview][Constants][Types][Procedures and functions] |
Initialize the keyboard driver.
Source position: keybrdh.inc line 135
procedure InitKeyboard; |
InitKeyboard initializes the keyboard driver. If the driver is already active, it does nothing. When the driver is initialized, it will do everything necessary to ensure the functioning of the keyboard, including allocating memory, initializing the terminal etc.
This function should be called once, before using any of the keyboard functions. When it is called, the DoneKeyboard function should also be called before exiting the program or changing the keyboard driver with SetKeyboardDriver.
For an example, see most other functions.
None.
|
Deactivate keyboard driver. |
|
|
Set a new keyboard driver. |