Synced
KeyPressedEvent
Section titled “KeyPressedEvent”
- Raised when a key is pressed.
Required contracts
Section titled “Required contracts”API: engine
Inherits: Inno.Core.Events.KeyEvent
Project: Inno.Core.Events
Declaration
Section titled “Declaration”public class Inno.Core.Events.KeyPressedEvent : Inno.Core.Events.KeyEventParameters
Section titled “Parameters”Parameter windowId: The window id used to initialize this instance.
Parameter key: The key used to initialize this instance.
Parameter modifiers: The modifiers used to initialize this instance.
Parameter repeat: The repeat used to initialize this instance.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | KeyPressedEvent.Constructor | Raised when a key is pressed. |
| Properties | KeyPressedEvent.repeat | Gets whether this key press is an auto-repeat event. |