mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
Now "Wiimote/Nunchunk Shake" on Keyboard works(for Win only).
Just press the "Shake" key. The shake involves all the three axes: X, Y, Z. So when you press the shake key, you are actually shaking not only up-down, left-right, and forward-backward at the same time. I did this becuse different games may require different directional shake, no need to seperate them to 3 keys I think. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4624 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -34,11 +34,17 @@ public:
|
||||
virtual bool Open(u32 _CommandAddress, u32 _Mode)
|
||||
{
|
||||
//PanicAlert("CWII_IPC_HLE_Device_Error");
|
||||
//Memory::Write_U32(GetDeviceID(), _CommandAddress+4);
|
||||
Memory::Write_U32(0, _CommandAddress+4);
|
||||
Memory::Write_U32(GetDeviceID(), _CommandAddress + 4);
|
||||
m_Active = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool Close(u32 _CommandAddress)
|
||||
{
|
||||
Memory::Write_U32(0, _CommandAddress + 4);
|
||||
m_Active = false;
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user