Interface IPlayerInputDeviceFilterSettings
Interface for player input device filter settings.
Namespace: Serenity.InputGateway.Global.Domain.Interfaces
Assembly: Serenity.InputGateway.Domain.dll
Syntax
public interface IPlayerInputDeviceFilterSettings : IFoundationSettings
Methods
Accept(string, string, string)
Determines whether a device is accepted based on its ID, layout, and display name.
Declaration
bool Accept(string deviceId, string layout, string displayName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | deviceId | The unique identifier of the device. |
| string | layout | The layout of the device. |
| string | displayName | The display name of the device. |
Returns
| Type | Description |
|---|---|
| bool | True if the device is accepted; otherwise, false. |