PureBasic - Mouse

Overview

PureBasic provides full access to mice plugged into the computer. It supports standard mice with up to 3 buttons. This library is optimized and uses very low level functions especially for games. Do not use the functions of this library in a regular application, in this case carry out the mouse queries with WindowMouseX(), WindowMouseY() and EventType(). On Windows, DirectX is used.

Command Index

ExamineMouse
InitMouse
MouseButton
MouseDeltaX
MouseDeltaY
MouseLocate
MouseWheel
MouseX
MouseY
ReleaseMouse

Example

Mouse.pb

Supported OS

All

Reference Manual - Index