Simplify gui init for Wiimote, nunchuck, and classic controller

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3729 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2009-07-10 05:30:19 +00:00
parent 7f131a9045
commit 8145eb30d9
4 changed files with 171 additions and 455 deletions

View File

@ -18,7 +18,11 @@
#ifndef _PLUGIN_WIIMOTE_CONFIG_H
#define _PLUGIN_WIIMOTE_CONFIG_H
#define GH3_CONTROLS 14
#define WM_CONTROLS 14
#define NC_CONTROLS 7
#define CC_CONTROLS 23
#define GH3_CONTROLS 14
enum
{
EXT_NONE = 0,
@ -113,7 +117,7 @@ struct Config
// Ini Control Names
// Do not change the order unless you change the related arrays
static const char* wmControlNames[] = // 14
static const char* wmControlNames[] =
{
"WmA",
"WmB",
@ -130,7 +134,7 @@ static const char* wmControlNames[] = // 14
"WmPitchL",
"WmPitchR",
};
static const char* ncControlNames[] = // 7
static const char* ncControlNames[] =
{
"NcZ",
"NcC",
@ -141,7 +145,7 @@ static const char* ncControlNames[] = // 7
"NcShake",
};
static const char* ccControlNames[] = // 23
static const char* ccControlNames[] =
{
"CcA",
"CcB",
@ -272,4 +276,4 @@ static int GH3DefaultControls[] =
};
extern Config g_Config;
#endif // _PLUGIN_WIIMOTE_CONFIG_H
#endif // _PLUGIN_WIIMOTE_CONFIG_H