mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Added UDPWii (iPhone WiiMote) support.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5351 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -33,6 +33,8 @@
|
||||
#include "wiimote_hid.h" // Local
|
||||
#include "Encryption.h"
|
||||
|
||||
#include "UDPWiimote.h"
|
||||
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
#include <X11/X.h>
|
||||
#endif
|
||||
@ -276,6 +278,16 @@ struct SMotion
|
||||
STiltData TiltNC;
|
||||
};
|
||||
|
||||
struct UDPWiiSettings
|
||||
{
|
||||
bool enable;
|
||||
bool enableAccel;
|
||||
bool enableButtons;
|
||||
bool enableIR;
|
||||
bool enableNunchuck;
|
||||
char port[10];
|
||||
UDPWiimote *instance;
|
||||
};
|
||||
|
||||
struct CONTROLLER_MAPPING_WII // WII PAD MAPPING
|
||||
{
|
||||
@ -302,6 +314,8 @@ struct CONTROLLER_MAPPING_WII // WII PAD MAPPING
|
||||
SStickMapping Stick;
|
||||
int Button[LAST_CONSTANT];
|
||||
SMotion Motion;
|
||||
|
||||
UDPWiiSettings UDPWM;
|
||||
};
|
||||
|
||||
// Gamepad input
|
||||
|
Reference in New Issue
Block a user