Files
LuaCsForBarotraumaEP/Libraries/MonoGame.Framework/Src/MonoGame.Framework/Input/GamePad.MacOS.cs
2019-06-25 16:00:44 +03:00

36 lines
1.0 KiB
C#

// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
namespace Microsoft.Xna.Framework.Input
{
/// <summary>
/// Supports querying the game controllers and setting the vibration motors.
/// </summary>
public static partial class GamePad
{
private static int PlatformGetMaxNumberOfGamePads()
{
return 0;
}
private static GamePadCapabilities PlatformGetCapabilities(int index)
{
return new GamePadCapabilities { IsConnected = false };
}
private static GamePadState PlatformGetState(int index, GamePadDeadZone leftDeadZoneMode, GamePadDeadZone rightDeadZoneMode)
{
return new GamePadState() { IsConnected = false };
}
private static bool PlatformSetVibration(int index, float leftMotor, float rightMotor)
{
return false;
}
}
}