Table of Contents

Class KeyboardInputProvider

Namespace
OmegaEngine.Input
Assembly
OmegaEngine.dll

Processes keyboard events into higher-level navigational commands.

public class KeyboardInputProvider : InputProvider, IDisposable
Inheritance
KeyboardInputProvider
Implements
Inherited Members
Extension Methods

Constructors

KeyboardInputProvider(Control)

Starts monitoring and processing keyboard events received by a specific control.

public KeyboardInputProvider(Control control)

Parameters

control Control

The control receiving the keyboard events.

Properties

KeyMap

Mapping from key to navigation action.

public Dictionary<Keys, (DoubleVector3 Translation, DoubleVector3 Rotation)> KeyMap { get; }

Property Value

Dictionary<Keys, (DoubleVector3 Translation, DoubleVector3 Rotation)>

KeyRepetitionRate

The rate at which the keyboard events are repeated when a button is held down.

public TimeSpan KeyRepetitionRate { get; set; }

Property Value

TimeSpan

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.