Synced
KeyPressedEvent.Constructor
Section titled “KeyPressedEvent.Constructor”
- Raised when a key is pressed.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Events
Declaration
Section titled “Declaration”public Inno.Core.Events.KeyPressedEvent.KeyPressedEvent(uint windowId, Inno.Core.Input.KeyCode key, Inno.Core.Input.KeyModifier modifiers = Inno.Core.Input.KeyModifier.None, bool repeat = false)Parameters
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.