Class unicodeListener
unicodeListener
Defined in: unicodeListener.js.
Constructor Attributes | Constructor Name and Description |
---|---|
An object to listen for typed characters.
|
Field Attributes | Field Name and Description |
---|---|
The user function to call when a new character is pressed / activated.
|
Method Attributes | Method Name and Description |
---|---|
remove()
Removes the button listener from sandboxe.
|
Class Detail
unicodeListener()
An object to listen for typed characters. See sandboxe.input.unicodeListener.create to instantiate
and enable it.
unicodeListener allows you to set up more detailed specific behavior as soon
as an input even is recorded for a frame, allowing you to avoid the classic
"query input every frame pattern".
Field Detail
onNewUnicode
The user function to call when a new character is pressed / activated.
Method Detail
remove()
Removes the button listener from sandboxe.