PureBasic - Mouse
PureBasic provides a full access to mouses plugged into the computer. It supports standard mouses 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.