Emulated Wiimote: Added Classic Controller analog gamepad support, and added its keyboard configuration to the GUI

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2400 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-02-24 02:40:17 +00:00
parent f23b24ae76
commit b739dd3817
13 changed files with 747 additions and 223 deletions

View File

@ -54,6 +54,19 @@ struct Config
};
int Type;
};
struct PadClassicController
{
enum ECcStick
{
KEYBOARD,
ANALOG1,
ANALOG2,
TRIGGER
};
int LType;
int RType;
int TType;
};
// Emulated Wiimote
bool bSidewaysDPad;
@ -70,6 +83,7 @@ struct Config
bool bNoTriggerFilter;
PadTrigger Trigger;
PadNunchuck Nunchuck;
PadClassicController ClassicController;
};
extern Config g_Config;