Added nunchuck acceleration support to UDPWii . Moved some UDPWii stuff to the nunchuck attachment because I needed calibration data for the nunchuck...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5878 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
61bd545f80
commit
bbb48603be
8 files changed
+97
-32
No files matched your search
@@ -28,6 +28,7 @@ public:
|
||||
u32 getButtons();
|
||||
void getNunchuck(float &x, float &y, u8 &mask);
|
||||
void getIR(float &x, float &y);
|
||||
void getNunchuckAccel(float &x, float &y, float &z);
|
||||
int getErrNo() {return err;};
|
||||
const char * getPort();
|
||||
private:
|
||||
@@ -37,6 +38,7 @@ private:
|
||||
struct _d; //using pimpl because Winsock2.h doesen't have include guards -_-
|
||||
_d *d;
|
||||
double x,y,z;
|
||||
double naX,naY,naZ;
|
||||
double nunX,nunY;
|
||||
double pointerX,pointerY;
|
||||
u8 nunMask;
|
||||
|
||||
Reference in new issue
Block a user