This repository was archived by the owner on Jun 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
wedgex/XNA-Keyboard-Text-Reader
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Before using
------------
The KeyboardStringReader needs a reference to System.Windows.Forms in order to get the capslock and numlock states, so a reference will need to be added to the XNA project.
How to use
----------
KeyboardStringReader textReader = new KeyboardStringReader();
StringBuilder inputText = new StringBuilder();
protected override void Update(GameTime gameTime)
{
KeyboardState keyboard = Keyboard.GetState();
this.textReader.Process(keyboard, gameTime, this.inputText);
}About
An XNA util for reading text from the KeyboardState.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published