Interface IKeyboardInput
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
ModifierKeys
Gets all the pressed modifier keys.
ModifierKeys ModifierKeys { get; }
Property Value
Events
KeyDown
Occurs when the keyboard key is down. Passes a value of the pressed key.
event EventHandler<GenericEventArgs<Keys>>? KeyDown
Event Type
KeyUp
Occurs when the keyboard key is up. Passes a value of the released key.
event EventHandler<GenericEventArgs<Keys>>? KeyUp