Before
X.Gamepad.Capability caps = gamepad.Capabilities;
if ((caps.Flags & X.Gamepad.CapabilityFlags.FFB_Supported) == X.Gamepad.CapabilityFlags.FFB_Supported)
{
[...]
After
if (gamepad.FFB_Supported)
{
[...]
Before
X.Gamepad.Capability caps = gamepad.Capabilities;
if ((caps.Flags & X.Gamepad.CapabilityFlags.FFB_Supported) == X.Gamepad.CapabilityFlags.FFB_Supported)
{
[...]
After
if (gamepad.FFB_Supported)
{
[...]