Table of Contents

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

control Control

The 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

int

CursorSensitivity

The sensitivity of the mouse cursor. The higher the value, the faster the movement.

public double CursorSensitivity { get; set; }

Property Value

double

InvertMouse

Invert the mouse axes.

public bool InvertMouse { get; set; }

Property Value

bool

Scheme

Controls which mouse button does what.

public MouseInputScheme Scheme { get; set; }

Property Value

MouseInputScheme

WheelSensitivity

The sensitivity of the mouse wheel. The higher the value, the faster the movement.

public double WheelSensitivity { get; set; }

Property Value

double

Methods

Dispose(bool)

To be called by Dispose() and the object destructor.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if called manually and not by the garbage collector.