Skip to content

Commit

Permalink
Added potential TODOs for polishing connected controller logic
Browse files Browse the repository at this point in the history
  • Loading branch information
lonkelle committed Dec 28, 2022
1 parent 440c748 commit fac39db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Delta/Emulation/GameViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ class GameViewController: DeltaCore.GameViewController

private var presentedJITAlert = false

//TODO: Check the "connectedController" for isAttachedToDevice attribute so wireless controllers can be in any orientation
//TODO: Display a didActivateGyro() toast notification when device locks orientation
override var shouldAutorotate: Bool {
return !self.isGyroActive && isExternalGameControllerConnected && UIDevice.current.orientation == .landscapeLeft
}
Expand Down

0 comments on commit fac39db

Please sign in to comment.