diff options
author | bunnei <bunneidev@gmail.com> | 2020-01-23 20:18:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-23 20:18:47 -0500 |
commit | deb97f6a8e48c17f8e16efadc24872a860d529a7 (patch) | |
tree | 79ca6164fcb03783bc19f1ec557cacdf0b3fc539 /src/input_common/udp/udp.h | |
parent | a167da4278df6d864a8990f846cf3ede1158f3db (diff) | |
parent | d01eb12f369eedae704c0e7ce0611f360302475b (diff) |
Merge pull request #2800 from FearlessTobi/port-4049
Port citra-emu/citra#4049: "Input: UDP Client to provide motion and touch controls"
Diffstat (limited to 'src/input_common/udp/udp.h')
-rw-r--r-- | src/input_common/udp/udp.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/input_common/udp/udp.h b/src/input_common/udp/udp.h new file mode 100644 index 000000000..ea3de60bb --- /dev/null +++ b/src/input_common/udp/udp.h @@ -0,0 +1,27 @@ +// 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 |