Closed mmagnuski closed 9 years ago
speed is ok, seems to be a bit slower, but thats expected for a matlab object.
I will investigate speed in the future to see I should add an option to choose between KeyboardManager
and eegplot_readkey_new
as keyboard event managers.
But so far, so good - this is ready to be merged.
Description
This PR refactors previous
eegplot_readkey_new
to be object-oriented, more convinient and elegant. It also adds aneval
method toKeyboardManager
andfastplot
. This method allows to pass strings toKeyboardManager
to be evaluated as if they were actual key presses. Because matlab's object oriented programming is slower than its default function-calling way I will have to test whether this does not slowfastplot
significantly.TODOs:
>
as arrow key presses inKeyboardManager.eval()