summaryrefslogtreecommitdiffstats
path: root/src/input_common/udp/udp.h
blob: 0e56e431b3c5486086eea2920d63ff639ae93556 (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
// Copyright 2018 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <memory>
#include <unordered_map>
#include "input_common/main.h"
#include "input_common/udp/client.h"

namespace InputCommon::CemuhookUDP {

class UDPTouchDevice;
class UDPMotionDevice;

class State {
public:
    State();
    ~State();
    void ReloadUDPClient();

private:
    std::unique_ptr<Client> client;
};

std::unique_ptr<State> Init();

} // namespace InputCommon::CemuhookUDP