Table of Contents

Class KeyEvent

Namespace
Stride.Input
Assembly
Stride.Input.dll

Event for a keyboard button changing state

public class KeyEvent : ButtonEvent, IInputEventArgs
Inheritance
KeyEvent
Implements
Inherited Members

Fields

Key

The key that is being pressed or released.

public Keys Key

Field Value

Keys

RepeatCount

The repeat count for this key. If it is 0 this is the initial press of the key

public int RepeatCount

Field Value

int

Properties

Keyboard

The keyboard that sent this event

public IKeyboardDevice Keyboard { get; }

Property Value

IKeyboardDevice

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.