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
Remarks
Pressing the left and right arrow keys allows rotating.
Pressing the up and down arrow keys allows zooming.
Constructors
KeyboardInputProvider(Control)
Starts monitoring and processing keyboard events received by a specific control.
public KeyboardInputProvider(Control control)
Parameters
control
ControlThe control receiving the keyboard events.
Methods
Dispose(bool)
To be called by Dispose() and the object destructor.
protected override void Dispose(bool disposing)
Parameters
disposing
booltrue
if called manually and not by the garbage collector.