IKeyboardDevice Interface
Namespace: Stride.InputAssembly: Stride.Input.dll
A keyboard device
public interface IKeyboardDevice : IInputDevice
| Name | Description | |
|---|---|---|
| Properties | ||
| DownKeys | List of keys that are currently down on this keyboard |
|
| PressedKeys | The keys that have been pressed since the last frame |
|
| ReleasedKeys | The keys that have been released since the last frame |
|
Properties
DownKeys
List of keys that are currently down on this keyboard
IReadOnlySet<Keys> DownKeys { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlySet<Keys> |
PressedKeys
The keys that have been pressed since the last frame
IReadOnlySet<Keys> PressedKeys { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlySet<Keys> |
ReleasedKeys
The keys that have been released since the last frame
IReadOnlySet<Keys> ReleasedKeys { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlySet<Keys> |