Lime3DS/src/core/hle/service/ir/ir.cpp

39 lines
808 B
C++
Raw Normal View History

// Copyright 2015 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "core/hle/service/ir/ir.h"
#include "core/hle/service/ir/ir_rst.h"
#include "core/hle/service/ir/ir_u.h"
#include "core/hle/service/ir/ir_user.h"
#include "core/hle/service/service.h"
namespace Service {
namespace IR {
void Init() {
AddService(new IR_RST_Interface);
AddService(new IR_User_Interface);
InitUser();
InitRST();
}
void Shutdown() {
ShutdownUser();
ShutdownRST();
}
2017-03-31 19:27:18 +00:00
void ReloadInputDevices() {
ReloadInputDevicesUser();
ReloadInputDevicesRST();
}
2017-12-09 10:34:23 +00:00
void InstallInterfaces(SM::ServiceManager& service_manager) {
std::make_shared<IR_U>()->InstallAsService(service_manager);
}
} // namespace IR
} // namespace Service