Interface IControllerElementMappingProfile
A collection of mapped elements that describes an input mapping profile.
Inherited Members
System.Collections.Generic.IEnumerable<Snowflake.Input.Controller.Mapped.ControllerElementMapping>.GetEnumerator()
Namespace: Snowflake.Input.Controller.Mapped
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface IControllerElementMappingProfile : IEnumerable<ControllerElementMapping>, IEnumerable
Properties
ControllerID
Gets the controller id of the virtual controller layout
Declaration
ControllerId ControllerID { get; }
Property Value
| Type | Description |
|---|---|
| ControllerId |
DeviceName
Gets the name of the device.
Declaration
string DeviceName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
DriverType
Gets the device id of the real device
Declaration
InputDriver DriverType { get; }
Property Value
| Type | Description |
|---|---|
| InputDriver |
Item[ControllerElement]
Gets or sets the device element mapped to the given layout element, if the layout element exists for this particular layout.
If it does not exist, then the setter does nothing, and the device element returns NoElement
Declaration
DeviceCapability this[ControllerElement layoutElement] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| ControllerElement | layoutElement | The layout element |
Property Value
| Type | Description |
|---|---|
| DeviceCapability | The device element that is mapped to the given layout element. |
ProfileGuid
The unique GUID that identifies this profile.
Declaration
Guid ProfileGuid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
VendorID
Gets the vendor ID of the device this mapping was created for.
Declaration
int VendorID { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |