I could be wrong, but I believe this property is incorrect.
public static bool Enabled
{
get { return inputEnabled; }
set
{
inputEnabled = value;
Enable(false);
}
}
When setting XInput to be enabled or disabled it instead is always set to be disabled. I was confused the first time using the code base provided as I couldn't get it to work for awhile until I changed the above to:
public static bool Enabled
{
get { return inputEnabled; }
set
{
inputEnabled = value;
Enable(inputEnabled);
}
}
which I think was the original intention of the property.
I could be wrong, but I believe this property is incorrect.
When setting XInput to be enabled or disabled it instead is always set to be disabled. I was confused the first time using the code base provided as I couldn't get it to work for awhile until I changed the above to:
which I think was the original intention of the property.