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

@@ -22,6 +22,7 @@ typedef NS_ENUM(NSInteger, OnScreenControlsLevel) {
// Internal levels selected by ControllerSupport
OnScreenControlsLevelAutoGCGamepad,
OnScreenControlsLevelAutoGCExtendedGamepad,
OnScreenControlsLevelAutoGCExtendedGamepadWithStickButtons
};
#if TARGET_OS_IPHONE