Chapter 15
The MOUSE unit

The Mouse unit implements a platform independent mouse handling interface. It is implemented identically on all platforms supported by Free Pascal and can be enhanced with custom drivers, should this be needed. It is intended to be used only in text-based screens, for instance in conjunction with the keyboard and video unit. No support for graphical screens is implemented, and there are (currently) no plans to implement this.

 15.1 Constants, Types and Variables
   Constants
   Types
   Variables
 15.2 Functions and procedures
   DetectMouse
   DoneMouse
   GetMouseButtons
   GetMouseDriver
   GetMouseEvent
   GetMouseX
   GetMouseY
   HideMouse
   InitMouse
   PollMouseEvent
   PutMouseEvent
   SetMouseDriver
   SetMouseXY
   ShowMouse
 15.3 Writing a custom mouse driver