mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] Blackbox ignores undefined events
Change-Id: Iab18d5a66d4c872ec94c918442660203cdc9c8ed
This commit is contained in:
@@ -11,7 +11,7 @@ static int sEventCount = 0;
|
||||
|
||||
Ion::Events::Event Ion::Events::getEvent(int * timeout) {
|
||||
Ion::Events::Event event = Ion::Events::None;
|
||||
while (!event.isKeyboardEvent()) {
|
||||
while (!(event.isDefined() && event.isKeyboardEvent())) {
|
||||
int c = getchar();
|
||||
if (c == EOF) {
|
||||
printf("Finished processing %d events\n", sEventCount);
|
||||
|
||||
Reference in New Issue
Block a user