Interface IMouseState
Reports the state of the mouse.
Assembly: SadConsole.dll
public interface IMouseState
Properties
true when the left mouse button is pressed; otherwise, false.
Declaration
bool IsLeftButtonDown { get; }
Property Value
true when the middle mouse button is pressed; otherwise, false.
Declaration
bool IsMiddleButtonDown { get; }
Property Value
true when the right mouse button is pressed; otherwise, false.
Declaration
bool IsRightButtonDown { get; }
Property Value
The value of the mouse wheel.
Declaration
Property Value
The pixel position of the mouse on the screen relative to the game window.
Declaration
Point ScreenPosition { get; }
Property Value
Methods
If applicable to the host implementation, refreshes the mouse state.
Declaration