NewGCPad: Sliders should be functional on DirectInput, also Axes renamed. XInput devices won't have their limited DirectInput counterparts listed. Minor cleanup, warning removal.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5260 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Jordan Woyak
2010-04-01 04:33:07 +00:00
parent 4e1719e98b
commit c3df2e93d7
11 changed files with 195 additions and 71 deletions

View File

@ -27,25 +27,10 @@ public:
void LoadConfig();
void SaveConfig();
class Pad : public std::vector<ControllerInterface::ControlReference*>
{
public:
class Options
{
public:
Options() : adjust_diagonal(1), allow_background_input(false) {}
ControlState adjust_diagonal; // will contain the full diagonal value from the input device
bool allow_background_input;
} options;
};
std::vector< ControllerEmu* > controllers;
Common::CriticalSection controls_crit, interface_crit; // lock controls first
ControllerInterface controller_interface;
const std::string name;
};
#endif