Include digital L and R buttons in Input Display
Previously, using TAS Input to activate the digital L and R buttons would not show these inputs in the Input Display. This commit adds the digital L and R presses to the Input Display, and also displays just "L" or "R" if the analog is set to 255.
This commit is contained in:
parent
753a1595bf
commit
6fd54276ea
|
@ -648,8 +648,16 @@ static void SetInputDisplayString(ControllerState padState, int controllerID)
|
|||
if (padState.reset)
|
||||
display_str += " RESET";
|
||||
|
||||
if (padState.TriggerL == 255 || padState.L)
|
||||
display_str += " L";
|
||||
else
|
||||
display_str += Analog1DToString(padState.TriggerL, " L");
|
||||
|
||||
if (padState.TriggerR == 255 || padState.R)
|
||||
display_str += " R";
|
||||
else
|
||||
display_str += Analog1DToString(padState.TriggerR, " R");
|
||||
|
||||
display_str += Analog2DToString(padState.AnalogStickX, padState.AnalogStickY, " ANA");
|
||||
display_str += Analog2DToString(padState.CStickX, padState.CStickY, " C");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue