This project is read-only.

Input Assistance

Oct 8, 2012 at 1:39 PM


Firstly, thank you for the library, it's much appreciated.

Hoping someone can point me in the correct direction :o)

I'm utilising Nuclex.Input.InputManager to capture input from the keyboard, in conjunction with Nuclear.UserInterface.

Placing two editable InputControls() I've managed to successfully grab Keys.Tab() (via a delegate) and shift the FocusedControl property appropiately on the Screen when a user presses the Tab key.

The issue I have - is pressing tab correctly moves focus between controls, however it also attempts to input a character into text box.

What method would you use to prevent certain characters / ignore a keypress if you've already taken an action on it?