Loading...
Searching...
No Matches
JoystickDevice.hpp
1#pragma once
2#include <Device/Protocol/DeviceInterface.hpp>
3
4namespace Protocols
5{
6struct JoystickSpecificSettings;
8{
9 W_OBJECT(JoystickDevice)
10public:
12 const Device::DeviceSettings& settings,
13 const ossia::net::network_context_ptr& ctx);
15
16 bool reconnect() override;
17 void disconnect() override;
18
19private:
20 template <typename T>
21 void do_reconnect(JoystickSpecificSettings& stgs);
22 const ossia::net::network_context_ptr& m_ctx;
23};
24}
Definition DeviceInterface.hpp:185
Definition JoystickDevice.hpp:8
Definition DeviceSettings.hpp:20
Definition JoystickSpecificSettings.hpp:11