diff options
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -80,12 +80,13 @@ static void* InputThreadLoop(void*) { return nullptr; } -void RecoveryUI::Init() { +bool RecoveryUI::Init() { ev_init(InputCallback, this); ev_iterate_available_keys(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); pthread_create(&input_thread_, nullptr, InputThreadLoop, nullptr); + return true; } int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { |