has_capability


Description:

public bool has_capability (InputCapability capability)

Check if an input device has the specified capability.

Parameters:

capability

The capability flag(s) to check.

Returns:

true if this device has all of the specified capabilities.