Files
eden/src/input_common/udp/udp.h
T

33 lines
683 B
C++
Raw Normal View History

// Copyright 2018 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
2020-02-03 09:09:06 -05:00
#pragma once
#include <memory>
2020-07-22 10:39:53 -04:00
#include <vector>
#include "common/param_package.h"
namespace InputCommon::CemuhookUDP {
class Client;
2020-07-22 10:39:53 -04:00
class UDPMotionFactory;
class UDPTouchFactory;
class State {
public:
State();
~State();
void ReloadUDPClient();
2020-08-15 15:26:29 -04:00
std::vector<Common::ParamPackage> GetInputDevices() const;
private:
std::unique_ptr<Client> client;
2020-07-22 10:39:53 -04:00
std::shared_ptr<UDPMotionFactory> motion_factory;
std::shared_ptr<UDPTouchFactory> touch_factory;
};
std::unique_ptr<State> Init();
} // namespace InputCommon::CemuhookUDP