diff --git a/MonoGame.StarterKits.iOS.sln b/MonoGame.StarterKits.iOS.sln index 48bceab..dc2a3f5 100644 --- a/MonoGame.StarterKits.iOS.sln +++ b/MonoGame.StarterKits.iOS.sln @@ -107,7 +107,7 @@ Global {91CF4A04-9FDC-471D-AED0-D8F057068230} = {73DDE8DB-4345-43F2-9371-0A19FC669324} EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution - StartupItem = iOS\AlienGame\AlienGame.csproj + StartupItem = iOS\Platformer\Platformer.csproj Policies = $0 $0.TextStylePolicy = $1 $1.RemoveTrailingWhitespace = True diff --git a/iOS/Platformer/PlatformerGame.cs b/iOS/Platformer/PlatformerGame.cs index 8727aad..41c38c2 100644 --- a/iOS/Platformer/PlatformerGame.cs +++ b/iOS/Platformer/PlatformerGame.cs @@ -133,10 +133,8 @@ protected override void Update(GameTime gameTime) private void HandleInput() { // get all of our input states -#if !WINDOWS_PHONE && !ANDROID && !IPHONE - keyboardState = Keyboard.GetState(); -#endif #if !IPHONE + keyboardState = Keyboard.GetState(); gamePadState = GamePad.GetState(PlayerIndex.One); #endif touchState = TouchPanel.GetState(); @@ -148,10 +146,8 @@ private void HandleInput() Exit(); #endif bool continuePressed = -#if !WINDOWS_PHONE && !ANDROID && !IPHONE - keyboardState.IsKeyDown(Keys.Space) || -#endif #if !IPHONE + keyboardState.IsKeyDown(Keys.Space) || gamePadState.IsButtonDown(Buttons.A) || #endif touchState.AnyTouch();