mirror of
				https://github.com/dolphin-emu/dolphin.git
				synced 2025-10-25 17:39:09 +00:00 
			
		
		
		
	Please test this, I don't have any phones or whatever capable of communicating with it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6405 8ced0084-cf51-0410-be5f-012b33b47a6e
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			700 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			700 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #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
 |