Files
eden/src/core/frontend/applets/software_keyboard.cpp
T

22 lines
627 B
C++
Raw Normal View History

// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "common/logging/backend.h"
#include "core/frontend/applets/software_keyboard.h"
2018-11-11 16:39:25 -05:00
namespace Core::Frontend {
SoftwareKeyboardApplet::~SoftwareKeyboardApplet() = default;
bool DefaultSoftwareKeyboardApplet::GetText(SoftwareKeyboardParameters parameters,
std::u16string& text) const {
if (parameters.initial_text.empty())
2018-11-11 16:39:25 -05:00
text = u"yuzu";
else
text = parameters.initial_text;
return true;
}
2018-11-11 16:39:25 -05:00
} // namespace Core::Frontend