| 18 | } |
| 19 | |
| 20 | static void hide_keyboard(lv_event_t* event) { |
| 21 | auto service = findService(); |
| 22 | if (service != nullptr) { |
| 23 | service->softwareKeyboardHide(); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | bool GuiService::softwareKeyboardIsEnabled() { |
| 28 | return !lvgl::hardware_keyboard_is_available() || TT_CONFIG_FORCE_ONSCREEN_KEYBOARD; |
nothing calls this directly
no test coverage detected