Fix handling of missing L3 and R3 buttons and adjust on-screen controls based on L3/R3 presence

This commit is contained in:
Cameron Gutman
2018-11-03 14:01:32 -07:00
parent 39b04d46a4
commit 410d0d367b
3 changed files with 25 additions and 2 deletions

View File

@@ -202,6 +202,18 @@ static float L3_Y;
[self hideSticks];
[self drawL3R3];
break;
case OnScreenControlsLevelAutoGCExtendedGamepadWithStickButtons:
// This variant of GCExtendedGamepad has L3 and R3 but
// is still missing Select
[self setupExtendedGamepadControls];
[self hideButtons];
[self hideBumpers];
[self hideTriggers];
[self hideL3R3];
[self drawStartSelect];
[self hideSticks];
break;
case OnScreenControlsLevelSimple:
[self setupSimpleControls];