mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
New Wiimote Plugin: Made UDPWiimote use the regular "Nunchuk" extension setting. Having a separate "UDPNunchuk" was really ugly. -some other minor changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5863 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
#include "Nunchuk.h"
|
||||
|
||||
#include "UDPWrapper.h"
|
||||
#include "UDPWiimote.h"
|
||||
|
||||
namespace WiimoteEmu
|
||||
{
|
||||
@ -19,14 +21,10 @@ static const u8 nunchuck_calibration[] =
|
||||
0xec, 0x41 // checksum on the last two bytes
|
||||
};
|
||||
|
||||
// nunchuk buttons
|
||||
#define NUNCHUK_C 0x02
|
||||
#define NUNCHUK_Z 0x01
|
||||
|
||||
const u8 nunchuk_button_bitmasks[] =
|
||||
{
|
||||
NUNCHUK_C,
|
||||
NUNCHUK_Z,
|
||||
Nunchuk::BUTTON_C,
|
||||
Nunchuk::BUTTON_Z,
|
||||
};
|
||||
|
||||
Nunchuk::Nunchuk() : Attachment( "Nunchuk" )
|
||||
|
Reference in New Issue
Block a user