[][src]Module device_query::mouse_state

Structs

MouseState

A simple structure containing the current mouse coordinates and the state of each mouse button that we can query. Currently, Windows and Linux provide nice ways to query five mouse buttons. Since button numbers are 1-based, button_pressed[0] is assumed to be false and have no meaning.