We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5c78fa commit 62aaac7Copy full SHA for 62aaac7
src/UI/Screens/Console/ConsoleView.cpp
@@ -9,6 +9,8 @@
9
#include "utils/StorageHelper.h"
10
#include "utils/TimeHelper.h"
11
12
+#define AUTO_HIDE_KEYBOARD_ON_DEFOCUS 0
13
+
14
namespace UI
15
{
16
static constexpr lv_coord_t s_gcodeWidth = 50;
@@ -302,12 +304,14 @@ namespace UI
302
304
view->showKeyboard(true);
303
305
break;
306
}
307
+#if AUTO_HIDE_KEYBOARD_ON_DEFOCUS
308
case LV_EVENT_DEFOCUSED:
309
310
ZoneScopedN("ConsoleView::onKeyboardEvent:LV_EVENT_DEFOCUSED");
311
view->showKeyboard(false);
312
313
314
+#endif
315
case LV_EVENT_VALUE_CHANGED:
316
317
ZoneScopedN("ConsoleView::onKeyboardEvent:LV_EVENT_VALUE_CHANGED");
0 commit comments