summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/software_keyboard.cpp
blob: 8cb888a629caae2ca8ebf9c9d4e2ab7e52cea36c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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"

namespace Frontend {
bool DefaultSoftwareKeyboardApplet::GetText(Parameters parameters, std::u16string& text) {
    if (parameters.initial_text.empty())
        text = Common::UTF8ToUTF16("yuzu");
    else
        text = parameters.initial_text;

    return true;
}
} // namespace Frontend