Table of Contents

Delegate MlemPlatform.TextInputCallback

Namespace
MLEM.Misc
Assembly
MLEM.dll

A delegate method that can be used for AddTextInputListener(GameWindow, TextInputCallback)

public delegate void MlemPlatform.TextInputCallback(object sender, Keys key, char character)

Parameters

sender object

The object that sent the event. The Microsoft.Xna.Framework.GameWindow or MlemPlatform used in most cases.

key Keys

The key that was pressed. Note that this is always Microsoft.Xna.Framework.Input.Keys.None on FNA.

character char

The character that corresponds to that key.