You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present the ComputerTerminalWidget class has char character = 'x'; // event.getKeyCharacter(); where it seemingly used to be we could get both the id for a given key and the character it represents from NUIKeyEvent - but now only the id is available. Just commented it out in #10 so that the module would compile.
An alternative method onCharEvent is available in UIWidget but while it then provides the char it does not obviously capture the id and make it available 🤔
Probably the solution is to either provide both on one of those methods or make an easy way to look up one from the other. @DarkWeird has shown interest in fixing this at some point, but it is low priority anyway since ModularComputers doesn't work well at the moment.
The text was updated successfully, but these errors were encountered:
At present the
ComputerTerminalWidget
class haschar character = 'x'; // event.getKeyCharacter();
where it seemingly used to be we could get both the id for a given key and the character it represents fromNUIKeyEvent
- but now only the id is available. Just commented it out in #10 so that the module would compile.An alternative method
onCharEvent
is available inUIWidget
but while it then provides thechar
it does not obviously capture the id and make it available 🤔Probably the solution is to either provide both on one of those methods or make an easy way to look up one from the other. @DarkWeird has shown interest in fixing this at some point, but it is low priority anyway since ModularComputers doesn't work well at the moment.
The text was updated successfully, but these errors were encountered: