MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / KeyboardManager

Method KeyboardManager

switch/source/KeyboardManager.cpp:30–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include "backupsize.hpp"
29
30KeyboardManager::KeyboardManager(void)
31{
32 systemKeyboardAvailable = false;
33 if (appletGetAppletType() == AppletType_Application) {
34 SwkbdConfig kbd;
35 res = swkbdCreate(&kbd, 0);
36 if (R_SUCCEEDED(res)) {
37 systemKeyboardAvailable = true;
38 swkbdClose(&kbd);
39 }
40 }
41}
42
43std::pair<bool, std::string> KeyboardManager::keyboard(const std::string& suggestion)
44{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected