mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-27 14:50:36 +00:00
25 lines
468 B
C++
25 lines
468 B
C++
#pragma once
|
|
|
|
#include <switch.h>
|
|
#include "virtualcontroller.hpp"
|
|
|
|
namespace controller {
|
|
|
|
class HdlsVirtualController : public VirtualController {
|
|
|
|
public:
|
|
HdlsVirtualController();
|
|
~HdlsVirtualController();
|
|
|
|
Result connect(void);
|
|
Result disconnect(void);
|
|
Result setState(const SwitchProGamepadState* state);
|
|
|
|
private:
|
|
uint64_t m_handle;
|
|
HiddbgHdlsDeviceInfo m_device;
|
|
HiddbgHdlsState m_state;
|
|
};
|
|
|
|
|
|
}
|