mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user