blob: 420e425e25b9ee673bf31b4ea723dff07a974896 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef UDPWRAPPER_H
#define UDPWRAPPER_H
#include "UDPWiimote.h"
#include "Common.h"
#include "ControllerEmu.h"
#include "IniFile.h"
#include <string>
class UDPWrapper : public ControllerEmu::ControlGroup
{
public:
UDPWiimote * inst;
int index;
bool updIR, updAccel, updButt, updNun, updNunAccel, udpEn; //upd from update and udp from... well... UDP
std::string port;
UDPWrapper(int index, const char* const _name);
virtual void LoadConfig(IniFile::Section *sec, const std::string& defdev = "", const std::string& base = "");
virtual void SaveConfig(IniFile::Section *sec, const std::string& defdev = "", const std::string& base = "");
void Refresh();
virtual ~UDPWrapper();
};
#endif
|