2011-12-14 19:54:23 +00:00
|
|
|
using ANX.Framework.NonXNA;
|
|
|
|
using ANX.Framework.NonXNA.InputSystem;
|
2012-08-31 21:45:50 +00:00
|
|
|
using ANX.Framework.NonXNA.Development;
|
2011-12-14 19:54:23 +00:00
|
|
|
|
2012-08-09 09:45:04 +00:00
|
|
|
// This file is part of the ANX.Framework created by the
|
|
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
|
|
// For details see: http://anxframework.codeplex.com/license
|
2011-12-14 19:54:23 +00:00
|
|
|
|
|
|
|
namespace ANX.InputDevices.Windows.XInput
|
|
|
|
{
|
2012-08-31 21:45:50 +00:00
|
|
|
[PercentageComplete(100)]
|
|
|
|
[TestState(TestStateAttribute.TestState.Tested)]
|
|
|
|
[Developer("AstrorEnales")]
|
2012-08-09 09:45:04 +00:00
|
|
|
public class MouseCreator : IMouseCreator
|
|
|
|
{
|
|
|
|
public string Name
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
2015-10-18 13:37:39 +02:00
|
|
|
return "XInput.Mouse";
|
2012-08-09 09:45:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public int Priority
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return 10;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-08-25 17:27:45 +00:00
|
|
|
public IMouse CreateDevice()
|
2012-08-09 09:45:04 +00:00
|
|
|
{
|
|
|
|
return new Mouse();
|
|
|
|
}
|
2015-10-18 13:37:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
public string Provider
|
|
|
|
{
|
|
|
|
get { return "XInput"; }
|
|
|
|
}
|
|
|
|
}
|
2011-12-14 19:54:23 +00:00
|
|
|
}
|