PureBasic - Mouse

Overview

PureBasic provides a full access to mices plugged to the computer. It supports standard mouses upto 3 buttons. This library is optimized and use very low level functions especially for use with games. Don't use the commands of this library in a regular application, in this case carry out the mouse query with WindowMouseX(), WindowMouseY() and EventType(). Under Windows the DirectX technology is used.

Command Index

ExamineMouse
InitMouse
MouseButton
MouseDeltaX
MouseDeltaY
MouseLocate
MouseWheel
MouseX
MouseY
ReleaseMouse

Example

Mouse.pb

Supported OS

All

Reference Manual - Index