mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-30 21:34:15 +01:00
8af89b6979
These functions include reloading udp client, testing communication and configuring calibration. I also added a function to common/thread.h to use WaitFor.
28 lines
525 B
C++
28 lines
525 B
C++
// Copyright 2018 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#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
|