aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/common/virtual-keyboard.cpp4
-rw-r--r--backends/common/virtual-keyboard.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/backends/common/virtual-keyboard.cpp b/backends/common/virtual-keyboard.cpp
index 0259bed5b9..37fa922bd1 100644
--- a/backends/common/virtual-keyboard.cpp
+++ b/backends/common/virtual-keyboard.cpp
@@ -296,9 +296,9 @@ void VirtualKeyboard::runLoop() {
default:
break;
}
- // TODO - remove this line ?
- //if (!_displaying) break;
}
+ // Delay for a moment
+ _system->delayMillis(10);
}
// push keydown & keyup events into the event manager
diff --git a/backends/common/virtual-keyboard.h b/backends/common/virtual-keyboard.h
index fe5029558d..74c3043a4c 100644
--- a/backends/common/virtual-keyboard.h
+++ b/backends/common/virtual-keyboard.h
@@ -41,8 +41,6 @@ namespace Common {
class VirtualKeyboardParser;
-
-
class VirtualKeyboard {
/** Type of key event */