sjbarag / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
113 stars 43 forks source link

Implement `onKeyEvent` capability #464

Closed lkipke closed 3 years ago

lkipke commented 4 years ago

Summary

The way Brightscript handles key events is via the onKeyEvent. brs currently does not have any way to call the onKeyEvent chain.

We should expose some method to allow unit tests to call onKeyEvent (something like _brs_.triggerKeyEvent).

lkipke commented 3 years ago

closed in #571