DQBinstallKeyboard
SUB

Prototype

DECLARE SUB DQBinstallKeyboard ()

Parameters

Returns

none

Description

Installs a custom keyboard interrupt handler that allows you to detect the exact state (pressed or released) of any key at any time. Once activated by calling this function, the standard QB routines like INPUT, INKEY$ or whatever other routine that uses the keyboard as input, will be unavailable. Calling them will probably result into your machine to crash, so pay attention. These standard routines can be called only when the interrupt handler will be uninstalled by calling DQBremoveKeyboard; this last function is automatically called by DQBclose, so usually you don't have to bother about it. When the handler is active, you can know the state of each key by simply calling the DQBkey function.

Notes:

none

Example

See DQBkey example