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

38 lines
995 B
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
{
static partial class Joystick
{
private const bool PlatformIsSupported = false;
private static JoystickCapabilities PlatformGetCapabilities(int index)
{
return new JoystickCapabilities()
{
IsConnected = false,
IsGamepad = false,
AxisCount = 0,
ButtonCount = 0,
HatCount = 0
};
}
private static JoystickState PlatformGetState(int index)
{
return new JoystickState()
{
IsConnected = false,
Axes = new int[0],
Buttons = new ButtonState[0],
Hats = new JoystickHat[0]
};
}
}
}