mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 12:55:45 +00:00
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
32 lines
677 B
C++
32 lines
677 B
C++
// Copyright 2018 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
#include "common/param_package.h"
|
|
|
|
namespace InputCommon::CemuhookUDP {
|
|
|
|
class Client;
|
|
class UDPMotionFactory;
|
|
class UDPTouchFactory;
|
|
|
|
class State {
|
|
public:
|
|
State();
|
|
~State();
|
|
void ReloadUDPClient();
|
|
std::vector<Common::ParamPackage> GetInputDevices();
|
|
|
|
private:
|
|
std::unique_ptr<Client> client;
|
|
std::shared_ptr<UDPMotionFactory> motion_factory;
|
|
std::shared_ptr<UDPTouchFactory> touch_factory;
|
|
};
|
|
|
|
std::unique_ptr<State> Init();
|
|
|
|
} // namespace InputCommon::CemuhookUDP
|