mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
InputCommon: Rename AddAnalogInputs to AddFullAnalogSurfaceInputs.
This commit is contained in:
@ -178,13 +178,14 @@ protected:
|
||||
Input& m_high;
|
||||
};
|
||||
|
||||
void AddAnalogInputs(Input* low, Input* high)
|
||||
{
|
||||
AddInput(low);
|
||||
AddInput(high);
|
||||
AddInput(new FullAnalogSurface(low, high));
|
||||
AddInput(new FullAnalogSurface(high, low));
|
||||
}
|
||||
// Pass Inputs for center-neutral (- and +) directions of some axis.
|
||||
// This function adds those Inputs and also a FullAnalogSurface Input for each direction.
|
||||
// This is only needed when it's not known if the particular axis is neutral in the center
|
||||
// or neutral on one of the extremes.
|
||||
// Some e.g. DInput devices expose a trigger across the full analog surface
|
||||
// but we have no way of knowing this until the user actually maps the Input,
|
||||
// so both center-neutral and full-surface Inputs need to be created in that case.
|
||||
void AddFullAnalogSurfaceInputs(Input* low, Input* high);
|
||||
|
||||
void AddCombinedInput(std::string name, const std::pair<std::string, std::string>& inputs);
|
||||
|
||||
|
Reference in New Issue
Block a user