public bool Matches(InputDeviceDescription other) { return(MatchPair(interfaceName, other.interfaceName) && MatchPair(deviceClass, other.deviceClass) && MatchPair(manufacturer, other.manufacturer) && MatchPair(product, other.product) // We don't match serials; seems nonsense to do that. && MatchPair(version, other.version) && MatchPair(capabilities, other.capabilities)); }
public static InputDevice AddDevice(InputDeviceDescription description) { return(s_Manager.AddDevice(description)); }
////REVIEW: this seems somewhat pointless without also agreeing on an ID for the device public static void ReportAvailableDevice(InputDeviceDescription description) { s_Manager.ReportAvailableDevice(description); }
//public static void RegisterTemplateMethod<T>(string ) public static string TryFindMatchingTemplate(InputDeviceDescription deviceDescription) { return(s_Manager.TryFindMatchingTemplate(deviceDescription)); }