Skip to content

Commit

Permalink
Merge pull request #4803 from cra0zy/macfix
Browse files Browse the repository at this point in the history
Remove pointless Mac defines and code
  • Loading branch information
tomspilman committed Apr 25, 2016
2 parents b6f01ad + 17c573d commit 43b70d3
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 52 deletions.
5 changes: 1 addition & 4 deletions Build/Projects/MonoGame.Framework.definition
Expand Up @@ -791,7 +791,7 @@
<Compile Include="Input\ButtonState.cs" />
<Compile Include="Input\GamePad.cs" />
<Compile Include="Input\GamePad.Default.cs">
<Platforms>Android,MacOS,WindowsPhone,WindowsPhone81</Platforms>
<Platforms>Android,WindowsPhone,WindowsPhone81</Platforms>
</Compile>
<Compile Include="Input\GamePad.IOS.cs">
<Platforms>iOS</Platforms>
Expand Down Expand Up @@ -835,9 +835,6 @@
<Compile Include="Input\Joystick.SDL.cs">
<Platforms>Linux,WindowsGL</Platforms>
</Compile>
<Compile Include="Input\Joystick.MacOS.cs">
<Platforms>MacOS</Platforms>
</Compile>
<Compile Include="Input\Joystick.Web.cs">
<Platforms>Web</Platforms>
</Compile>
Expand Down
4 changes: 0 additions & 4 deletions MonoGame.Framework/Input/GamePad.Default.cs
Expand Up @@ -2,8 +2,6 @@
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.

#if !MONOMAC || PLATFORM_MACOS_LEGACY

namespace Microsoft.Xna.Framework.Input
{
static partial class GamePad
Expand Down Expand Up @@ -47,5 +45,3 @@ private static bool PlatformSetVibration(int index, float leftMotor, float right
}
}

#endif

3 changes: 0 additions & 3 deletions MonoGame.Framework/Input/GamePad.MacOS.cs
Expand Up @@ -4,8 +4,6 @@

using System;

#if !PLATFORM_MACOS_LEGACY

namespace Microsoft.Xna.Framework.Input
{
/// <summary>
Expand Down Expand Up @@ -35,4 +33,3 @@ private static bool PlatformSetVibration(int index, float leftMotor, float right
}
}

#endif
4 changes: 0 additions & 4 deletions MonoGame.Framework/Input/Joystick.Default.cs
Expand Up @@ -2,8 +2,6 @@
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.

#if !MONOMAC || PLATFORM_MACOS_LEGACY

using System;

namespace Microsoft.Xna.Framework.Input
Expand Down Expand Up @@ -34,5 +32,3 @@ private static JoystickState PlatformGetState(int index)
}
}

#endif

37 changes: 0 additions & 37 deletions MonoGame.Framework/Input/Joystick.MacOS.cs

This file was deleted.

0 comments on commit 43b70d3

Please sign in to comment.