Table of Contents

Interface IKeyboardInput

Namespace
Icy.Input.Devices
Assembly
IcyUI.dll

Represents an interface for the keyboard input listener.

public interface IKeyboardInput : IInputDeviceListener, IInitializable
Inherited Members
Extension Methods

Properties

KeysDown

Gets the set of keys that are down during this frame.

IEnumerable<Keys> KeysDown { get; }

Property Value

IEnumerable<Keys>

ModifierKeys

Gets all the pressed modifier keys.

ModifierKeys ModifierKeys { get; }

Property Value

ModifierKeys

Events

KeyDown

Occurs when the keyboard key is down. Passes a value of the pressed key.

event EventHandler<GenericEventArgs<Keys>>? KeyDown

Event Type

EventHandler<GenericEventArgs<Keys>>

KeyUp

Occurs when the keyboard key is up. Passes a value of the released key.

event EventHandler<GenericEventArgs<Keys>>? KeyUp

Event Type

EventHandler<GenericEventArgs<Keys>>