summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ir/ir.cpp
blob: f06dd552f5782041a341e3147ab876c6b83e7b09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 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_U_Interface);
    AddService(new IR_User_Interface);

    InitUser();
    InitRST();
}

void Shutdown() {
    ShutdownUser();
    ShutdownRST();
}

void ReloadInputDevices() {
    ReloadInputDevicesUser();
    ReloadInputDevicesRST();
}

} // namespace IR

} // namespace Service