summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/software_keyboard.cpp
blob: 41d81c2934d8f7f37c1583ce9da398f638c35245 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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 Core::Frontend {
SoftwareKeyboardApplet::~SoftwareKeyboardApplet() = default;

bool DefaultSoftwareKeyboardApplet::GetText(SoftwareKeyboardParameters parameters,
                                            std::u16string& text) const {
    if (parameters.initial_text.empty())
        text = u"yuzu";
    else
        text = parameters.initial_text;

    return true;
}

} // namespace Core::Frontend