Docs / MonoInput

MonoInput glossary: mouse

The mouse manager, the mouse status, its buttons, snapshots of them, and the handlers of the mouse events, one page per type.

Each type has a page listing its members in alphabetical order, each with its type or signature and what it does. The sidebar lists the members of each class under its name. An enum’s page lists its values, and a delegate’s page its signature.

Type What it is
MouseManager Reads the mouse at every update, or takes a state the game built: its five buttons, the pointer and both wheels, with events for what changed.
MouseStatus The mouse as of the last update: five buttons, the pointer and how far it moved, two wheels and how far they turned.
MouseButtonInfo One mouse button: which one, and its state.
MouseButtonsStates The states of the five mouse buttons at one moment, compared with ==: what OnButtonsStatesChanged hands its handlers.
MouseButtonTypes Names the five mouse buttons.
MouseManager.ButtonsStatesChanged The handler of MouseManager.OnButtonsStatesChanged.
MouseManager.HorizontalWheelDeltaChanged The handler of MouseManager.OnHorizontalWheelDeltaChanged.
MouseManager.PositionChanged The handler of MouseManager.OnPositionChanged.
MouseManager.WheelDeltaChanged The handler of MouseManager.OnWheelDeltaChanged.