Steps to simplify pad mappings for wiimote plugin

simplified ini saving
misc cleanup;
My next few commits will change the config gui to only show the pad mappings for the currently connected extension, more cleanup/simplification, GH3 controller config options; I just have no more time tonight :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3708 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2009-07-08 07:16:26 +00:00
parent 25b77d4654
commit b6a43c5db8
10 changed files with 407 additions and 470 deletions

View File

@ -205,13 +205,14 @@ struct KeyboardWiimote
{
enum EKeyboardWiimote
{
A = 0, MA, // Keyboard A and Mouse A
B, MB,
A = 0, // Keyboard A and Mouse A
B,
ONE, TWO,
P, M, H,
L, R, U, D,
PITCH_L, PITCH_R,
SHAKE,
PITCH_L, PITCH_R,
MA, MB,
LAST_CONSTANT
};
@ -264,15 +265,15 @@ struct KeyboardGH3GLP
{
// This is not allowed in Linux so we have to set the starting value manually
#ifdef _WIN32
BG = g_ClassicContExt.LAST_CONSTANT,
Green = g_ClassicContExt.LAST_CONSTANT,
#else
BG = 47,
Green = 47,
#endif
BR, BY, BB,
BO, BP, BM,
WB,
Ll, Lr, Lu, Ld,
Bu, Bd,
Red, Yellow, Blue,
Orange,Plus, Minus,
Whammy,
Al, Ar, Au, Ad,
StrumUp, StrumDown,
SHAKE
};
};