Wiimote: Improved the emulated Wiimote, added gamepad controls for analog tilting.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2207 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-02-10 17:25:08 +00:00
parent 4d57101e29
commit 516a14150a
18 changed files with 491 additions and 132 deletions

View File

@ -22,7 +22,21 @@ struct Config
{
Config();
void Load(bool ChangePad = false);
void Save();
void Save(int Slot = -1);
struct PadTrigger
{
int Type;
int Range;
};
enum ETriggerType
{
TRIGGER_OFF = 0,
KEYBOARD,
ANALOG,
TRIGGER
};
// Emulated Wiimote
bool bSidewaysDPad;
@ -36,6 +50,7 @@ struct Config
// Gamepad
bool bNoTriggerFilter;
PadTrigger Trigger;
};
extern Config g_Config;