mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-09 02:55:56 +00:00
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:
parent
4d57101e29
commit
516a14150a
18 changed files with 491 additions and 132 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue