Class MouseInputProvider
- Namespace
- OmegaEngine.Input
- Assembly
- OmegaEngine.dll
Processes mouse events into higher-level navigational commands.
public class MouseInputProvider : InputProvider, IDisposable
- Inheritance
-
MouseInputProvider
- Implements
- Inherited Members
- Extension Methods
Constructors
MouseInputProvider(Control)
Starts monitoring and processing mouse events received by a specific control.
public MouseInputProvider(Control control)
Parameters
controlControlThe control receiving the mouse events.
Properties
ClickAccuracy
The number of pixels the mouse may move while pressed to still be considered a click.
public int ClickAccuracy { get; set; }
Property Value
CursorSensitivity
The sensitivity of the mouse cursor. The higher the value, the faster the movement.
public double CursorSensitivity { get; set; }
Property Value
InvertMouse
Invert the mouse axes.
public bool InvertMouse { get; set; }
Property Value
Scheme
Controls which mouse button does what.
public MouseInputScheme Scheme { get; set; }
Property Value
WheelSensitivity
The sensitivity of the mouse wheel. The higher the value, the faster the movement.
public double WheelSensitivity { get; set; }
Property Value
Methods
Dispose(bool)
To be called by Dispose() and the object destructor.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrueif called manually and not by the garbage collector.