### YamlMime:ManagedReference items: - uid: MLEM.Misc.MlemPlatform.TextInputCallback commentId: T:MLEM.Misc.MlemPlatform.TextInputCallback id: MlemPlatform.TextInputCallback parent: MLEM.Misc children: [] langs: - csharp - vb name: MlemPlatform.TextInputCallback nameWithType: MlemPlatform.TextInputCallback fullName: MLEM.Misc.MlemPlatform.TextInputCallback type: Delegate source: remote: path: MLEM/Misc/MlemPlatform.cs branch: main repo: https://github.com/Ellpeck/MLEM id: TextInputCallback path: ../MLEM/Misc/MlemPlatform.cs startLine: 62 assemblies: - MLEM namespace: MLEM.Misc summary: A delegate method that can be used for example: [] syntax: content: public delegate void MlemPlatform.TextInputCallback(object sender, Keys key, char character) parameters: - id: sender type: System.Object description: The object that sent the event. The or used in most cases. - id: key type: Microsoft.Xna.Framework.Input.Keys description: The key that was pressed. Note that this is always on FNA. - id: character type: System.Char description: The character that corresponds to that key. content.vb: Public Delegate Sub MlemPlatform.TextInputCallback(sender As Object, key As Keys, character As Char) references: - uid: MLEM.Misc.MlemPlatform.AddTextInputListener(Microsoft.Xna.Framework.GameWindow,MLEM.Misc.MlemPlatform.TextInputCallback) commentId: M:MLEM.Misc.MlemPlatform.AddTextInputListener(Microsoft.Xna.Framework.GameWindow,MLEM.Misc.MlemPlatform.TextInputCallback) parent: MLEM.Misc.MlemPlatform isExternal: true href: MLEM.Misc.MlemPlatform.html#MLEM_Misc_MlemPlatform_AddTextInputListener_Microsoft_Xna_Framework_GameWindow_MLEM_Misc_MlemPlatform_TextInputCallback_ name: AddTextInputListener(GameWindow, TextInputCallback) nameWithType: MlemPlatform.AddTextInputListener(GameWindow, MlemPlatform.TextInputCallback) fullName: MLEM.Misc.MlemPlatform.AddTextInputListener(Microsoft.Xna.Framework.GameWindow, MLEM.Misc.MlemPlatform.TextInputCallback) spec.csharp: - uid: MLEM.Misc.MlemPlatform.AddTextInputListener(Microsoft.Xna.Framework.GameWindow,MLEM.Misc.MlemPlatform.TextInputCallback) name: AddTextInputListener href: MLEM.Misc.MlemPlatform.html#MLEM_Misc_MlemPlatform_AddTextInputListener_Microsoft_Xna_Framework_GameWindow_MLEM_Misc_MlemPlatform_TextInputCallback_ - name: ( - uid: Microsoft.Xna.Framework.GameWindow name: GameWindow isExternal: true - name: ',' - name: " " - uid: MLEM.Misc.MlemPlatform.TextInputCallback name: TextInputCallback href: MLEM.Misc.MlemPlatform.TextInputCallback.html - name: ) spec.vb: - uid: MLEM.Misc.MlemPlatform.AddTextInputListener(Microsoft.Xna.Framework.GameWindow,MLEM.Misc.MlemPlatform.TextInputCallback) name: AddTextInputListener href: MLEM.Misc.MlemPlatform.html#MLEM_Misc_MlemPlatform_AddTextInputListener_Microsoft_Xna_Framework_GameWindow_MLEM_Misc_MlemPlatform_TextInputCallback_ - name: ( - uid: Microsoft.Xna.Framework.GameWindow name: GameWindow isExternal: true - name: ',' - name: " " - uid: MLEM.Misc.MlemPlatform.TextInputCallback name: TextInputCallback href: MLEM.Misc.MlemPlatform.TextInputCallback.html - name: ) - uid: Microsoft.Xna.Framework.GameWindow commentId: T:Microsoft.Xna.Framework.GameWindow parent: Microsoft.Xna.Framework isExternal: true name: GameWindow nameWithType: GameWindow fullName: Microsoft.Xna.Framework.GameWindow - uid: MLEM.Misc.MlemPlatform commentId: T:MLEM.Misc.MlemPlatform parent: MLEM.Misc href: MLEM.Misc.MlemPlatform.html name: MlemPlatform nameWithType: MlemPlatform fullName: MLEM.Misc.MlemPlatform - uid: Microsoft.Xna.Framework.Input.Keys.None commentId: F:Microsoft.Xna.Framework.Input.Keys.None isExternal: true name: None nameWithType: Keys.None fullName: Microsoft.Xna.Framework.Input.Keys.None - uid: MLEM.Misc commentId: N:MLEM.Misc href: MLEM.html name: MLEM.Misc nameWithType: MLEM.Misc fullName: MLEM.Misc spec.csharp: - uid: MLEM name: MLEM href: MLEM.html - name: . - uid: MLEM.Misc name: Misc href: MLEM.Misc.html spec.vb: - uid: MLEM name: MLEM href: MLEM.html - name: . - uid: MLEM.Misc name: Misc href: MLEM.Misc.html - uid: System.Object commentId: T:System.Object parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object name: object nameWithType: object fullName: object nameWithType.vb: Object fullName.vb: Object name.vb: Object - uid: Microsoft.Xna.Framework.Input.Keys commentId: T:Microsoft.Xna.Framework.Input.Keys parent: Microsoft.Xna.Framework.Input isExternal: true name: Keys nameWithType: Keys fullName: Microsoft.Xna.Framework.Input.Keys - uid: System.Char commentId: T:System.Char parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.char name: char nameWithType: char fullName: char nameWithType.vb: Char fullName.vb: Char name.vb: Char - uid: Microsoft.Xna.Framework commentId: N:Microsoft.Xna.Framework isExternal: true name: Microsoft.Xna.Framework nameWithType: Microsoft.Xna.Framework fullName: Microsoft.Xna.Framework spec.csharp: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true spec.vb: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true - uid: System commentId: N:System isExternal: true href: https://learn.microsoft.com/dotnet/api/system name: System nameWithType: System fullName: System - uid: Microsoft.Xna.Framework.Input commentId: N:Microsoft.Xna.Framework.Input isExternal: true name: Microsoft.Xna.Framework.Input nameWithType: Microsoft.Xna.Framework.Input fullName: Microsoft.Xna.Framework.Input spec.csharp: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true - name: . - uid: Microsoft.Xna.Framework.Input name: Input isExternal: true spec.vb: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true - name: . - uid: Microsoft.Xna.Framework.Input name: Input isExternal: true