mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
ControllerEmu: code cleanup.
This commit is contained in:
@ -13,17 +13,19 @@ namespace ControllerEmu
|
||||
class MixedTriggers : public ControlGroup
|
||||
{
|
||||
public:
|
||||
explicit MixedTriggers(const std::string& name);
|
||||
|
||||
void GetState(u16* digital, const u16* bitmasks, ControlState* analog,
|
||||
bool adjusted = true) const;
|
||||
|
||||
ControlState GetDeadzone() const;
|
||||
ControlState GetThreshold() const;
|
||||
|
||||
private:
|
||||
enum
|
||||
{
|
||||
SETTING_THRESHOLD,
|
||||
SETTING_DEADZONE,
|
||||
};
|
||||
|
||||
explicit MixedTriggers(const std::string& name);
|
||||
|
||||
void GetState(u16* digital, const u16* bitmasks, ControlState* analog, bool adjusted = true);
|
||||
|
||||
ControlState GetDeadzone() const;
|
||||
ControlState GetThreshold() const;
|
||||
};
|
||||
} // namespace ControllerEmu
|
||||
|
Reference in New Issue
Block a user