Added option for emulated Classic Controller, Mario Kart Wii recognize it but the controls doesn't work yet

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1319 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2008-11-28 11:54:15 +00:00
parent 1bc53f87dc
commit 95153abe6c
7 changed files with 61 additions and 25 deletions

View File

@ -84,13 +84,20 @@ static const u8 nunchuck_calibration[] =
};
/* The nunchuck id. It should be written to the last bytes of the
/* The Nunchuck id. It should be written to the last bytes of the
extension register */
static const u8 nunchuck_id[] =
{
0x00, 0x00, 0xa4, 0x20, 0x00, 0x00
};
/* The Classic Controller id. It should be written to the last bytes of the
extension register */
static const u8 classic_id[] =
{
0x00, 0x00, 0x00, 0x00, 0x01, 0x01
};
/* The id for nothing inserted */
static const u8 nothing_id[] =
{