Closed girba closed 5 years ago
By logging pressed keys in a morphic host and relying on keystroke
event instead of keydown event for delete
and backspace
we were able to differentiate between them
Turned out by relying on keyValue
instead of scanCode
we can fix key sticking
The keystrokes behave erratically when in the Morphic host: for example sometimes, delete means Enter, or shift remains pressed.
This appears to be due to the fact that for moving to the native windows, we cleaned the adjustments needed to deal with the Morphic understanding of the keyboard.
Now, we need to see how to adapt to the Morphic host