[Overview][Constants][Types][Procedures and functions][Variables] |
Initialize the FPC mouse driver.
Source position: mouseh.inc line 62
procedure InitMouse; |
InitMouseInitializes the mouse driver. This will allocate any data structures needed for the mouse to function. All mouse functions can be used after a call to InitMouse.
A call to InitMousemust always be followed by a call to DoneMouseat program exit. Failing to do so may leave the mouse in an unusable state, or may result in memory leaks.
For an example, see most other functions.
None.
|
Deinitialize mouse driver. |
|
|
Detect the presence of a mouse. |