Skip to content

Capability properties

Latest
Compare
Choose a tag to compare
@nikvoronin nikvoronin released this 25 Jul 07:32

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)
{
    [...]