mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Keyboard Wiimote emulation cleanup, phase one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4665 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -171,6 +171,15 @@ struct SIR
|
||||
int Distance;
|
||||
};
|
||||
|
||||
class ShakeData
|
||||
{
|
||||
public:
|
||||
ShakeData();
|
||||
int Shake;
|
||||
int Roll, Pitch;
|
||||
};
|
||||
|
||||
|
||||
// Keyboard input
|
||||
struct KeyboardWiimote
|
||||
{
|
||||
@ -190,6 +199,7 @@ struct KeyboardWiimote
|
||||
|
||||
// Raw X and Y coordinate and processed X and Y coordinates
|
||||
SIR IR;
|
||||
ShakeData shakeData;
|
||||
};
|
||||
extern KeyboardWiimote g_Wiimote_kbd;
|
||||
struct KeyboardNunchuck
|
||||
@ -207,6 +217,7 @@ struct KeyboardNunchuck
|
||||
SHAKE,
|
||||
LAST_CONSTANT
|
||||
};
|
||||
ShakeData shakeData;
|
||||
};
|
||||
extern KeyboardNunchuck g_NunchuckExt;
|
||||
struct KeyboardClassicController
|
||||
|
Reference in New Issue
Block a user