-
Notifications
You must be signed in to change notification settings - Fork 35
Input Processing
StrongJoshua edited this page Jan 28, 2015
·
3 revisions
The Console does its processing using a Stage. When a Console is instantiated, it first checks whether there is currently an InputProcessor set. If there is, the console creates an InputMultiplexer to which it adds its Stage and then the original InputProcessor. If there is no InputProcessor, it makes its Stage the default.
This means that you cannot change the InputProcessor while a live Console exists (unless your experienced enough to handle this). To return the default InputProcessor to its original state, before the Console was instantiated, simply call console.dispose()
(note that this will cause the Console to become unusable and you will have to create another one to be able to use a Console).