Class ControllerElementMappingProfile
Inheritance
Implements
Inherited Members
Namespace: Snowflake.Input.Controller.Mapped
Assembly: Snowflake.Framework.dll
Syntax
public class ControllerElementMappingProfile : IControllerElementMappingProfile, IEnumerable<ControllerElementMapping>, IEnumerable
Constructors
ControllerElementMappingProfile(String, ControllerId, InputDriver, Int32, IDeviceLayoutMapping)
Initializes a Controller
Declaration
public ControllerElementMappingProfile(string deviceName, ControllerId controllerId, InputDriver driver, int vendor, IDeviceLayoutMapping mapping)
Parameters
Type | Name | Description |
---|---|---|
System. |
deviceName | The name of the physical device for this set of mappings. |
Controller |
controllerId | The Stone Controller |
Input |
driver | The Input |
System. |
vendor | The vendor ID of the physical device for this set of mappings. |
IDevice |
mapping | The device layout mapping provided by the device enumerator. |
ControllerElementMappingProfile(String, ControllerId, InputDriver, Int32, IDeviceLayoutMapping, Guid)
Initializes a Controller
Declaration
public ControllerElementMappingProfile(string deviceName, ControllerId controllerId, InputDriver driver, int vendor, IDeviceLayoutMapping mapping, Guid profileGuid)
Parameters
Type | Name | Description |
---|---|---|
System. |
deviceName | The name of the physical device for this set of mappings. |
Controller |
controllerId | The Stone Controller |
Input |
driver | The Input |
System. |
vendor | The vendor ID of the physical device for this set of mappings. |
IDevice |
mapping | The device layout mapping provided by the device enumerator. |
System. |
profileGuid | The System. |
ControllerElementMappingProfile(String, ControllerId, InputDriver, Int32, Guid)
Declaration
public ControllerElementMappingProfile(string deviceName, ControllerId controllerId, InputDriver driver, int vendor, Guid profileGuid)
Parameters
Type | Name | Description |
---|---|---|
System. |
deviceName | |
Controller |
controllerId | |
Input |
driver | |
System. |
vendor | |
System. |
profileGuid |
ControllerElementMappingProfile(String, IControllerLayout, InputDriver, Int32, IDeviceLayoutMapping)
Initializes aController
Declaration
public ControllerElementMappingProfile(string deviceName, IControllerLayout controller, InputDriver driver, int vendor, IDeviceLayoutMapping mapping)
Parameters
Type | Name | Description |
---|---|---|
System. |
deviceName | The name of the physical device for this set of mappings. |
IController |
controller | The controller layout to assign device mappings to. |
Input |
driver | The Input |
System. |
vendor | The vendor ID of the physical device for this set of mappings. |
IDevice |
mapping | The device layout mapping provided by the device enumerator. |
ControllerElementMappingProfile(String, IControllerLayout, InputDriver, Int32, IDeviceLayoutMapping, Guid)
Initializes aController
Declaration
public ControllerElementMappingProfile(string deviceName, IControllerLayout controller, InputDriver driver, int vendor, IDeviceLayoutMapping mapping, Guid profileGuid)
Parameters
Type | Name | Description |
---|---|---|
System. |
deviceName | The name of the physical device for this set of mappings. |
IController |
controller | The controller layout to assign device mappings to. |
Input |
driver | The Input |
System. |
vendor | The vendor ID of the physical device for this set of mappings. |
IDevice |
mapping | The device layout mapping provided by the device enumerator. |
System. |
profileGuid | The System. |
Properties
ControllerID
Declaration
public ControllerId ControllerID { get; }
Property Value
Type | Description |
---|---|
Controller |
DeviceName
Declaration
public string DeviceName { get; }
Property Value
Type | Description |
---|---|
System. |
DriverType
Declaration
public InputDriver DriverType { get; }
Property Value
Type | Description |
---|---|
Input |
Item[ControllerElement]
Declaration
public DeviceCapability this[ControllerElement layoutElement] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Controller |
layoutElement |
Property Value
Type | Description |
---|---|
Device |
ProfileGuid
Declaration
public Guid ProfileGuid { get; set; }
Property Value
Type | Description |
---|---|
System. |
VendorID
Declaration
public int VendorID { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
Add(ControllerElementMapping)
Declaration
public void Add(ControllerElementMapping controllerElement)
Parameters
Type | Name | Description |
---|---|---|
Controller |
controllerElement |
GetEnumerator()
Declaration
public IEnumerator<ControllerElementMapping> GetEnumerator()
Returns
Type | Description |
---|---|
System. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System. |