• Introduction
  • C# API
  • GraphQL API
  • Home
  • Blog
  • Docs
  • GitHub
  • Snowflake.Input.Controller.Mapped
  • ControllerElementMappingProfile
Show / Hide Table of Contents
  • Snowflake.Configuration
    • ConfigurationCollection<T>
    • ConfigurationCollectionDescriptor<T>
    • ConfigurationOptionDescriptor
    • ConfigurationOptionType
    • ConfigurationSection<T>
    • ConfigurationSectionDescriptor<T>
    • ConfigurationValueCollection
    • IConfigurationCollection
    • IConfigurationCollection<T>
    • IConfigurationCollectionDescriptor
    • IConfigurationOptionDescriptor
    • IConfigurationProperty
    • IConfigurationSection
    • IConfigurationSection<T>
    • IConfigurationSectionDescriptor
    • IConfigurationTypeMapper
    • IConfigurationValue
    • IConfigurationValueCollection
    • ISelectionOptionDescriptor
    • PathType
    • SelectionOptionDescriptor
  • Snowflake.Configuration.Attributes
    • ConfigurationOptionAttribute
    • ConfigurationSectionAttribute
    • ConfigurationTargetAttribute
    • ConfigurationTargetMemberAttribute
    • CustomMetadataAttribute
    • InputTemplateAttribute
    • SelectionOptionAttribute
  • Snowflake.Configuration.Input
    • DictionaryInputMapping
    • IDeviceInputMapping
    • IInputOption
    • IInputSerializer
    • IInputTemplate
    • IInputTemplate<T>
    • InputConfigurationSection<T>
    • InputOption
    • InputOptionAttribute
    • InputTemplate<T>
  • Snowflake.Configuration.Interceptors
    • ConfigurationInterceptor
  • Snowflake.Configuration.Serialization
    • AbstractConfigurationNode<T>
    • BooleanConfigurationNode
    • ConfigurationTarget
    • ConfigurationTraversalContext
    • DecimalConfigurationNode
    • DeviceCapabilityElementConfigurationNode
    • EnumConfigurationNode
    • IAbstractConfigurationNode
    • IAbstractConfigurationNode<T>
    • IConfigurationSerializationContext<T>
    • IConfigurationTarget
    • IConfigurationTransformer<TOutput>
    • IConfigurationTraversalContext
    • IntegralConfigurationNode
    • ListConfigurationNode
    • StringConfigurationNode
    • UnknownConfigurationNode
  • Snowflake.Configuration.Serialization.Serializers
    • AbstractStringConfigurationSerializer
    • ConfigurationSerializer<T>
    • StringSerializationContext
    • StringSerializationContextExtensions
  • Snowflake.Configuration.Serialization.Serializers.Implementations
    • SimpleCfgConfigurationSerializer
    • SimpleIniConfigurationSerializer
    • SimpleJsonConfigurationSerializer
    • SimpleXmlConfigurationSerializer
  • Snowflake.Extensibility
    • IEmptyPluginConfiguration
    • ILogger
    • IPlugin
    • IPluginCollection<T>
    • LogLevel
    • PluginAttribute
    • PluginCollection<T>
    • PluginInfoFields
  • Snowflake.Extensibility.Configuration
    • IPluginConfigurationStore
  • Snowflake.Extensibility.Provisioning
    • IPluginProperties
    • IPluginProvision
    • IProvisionedPlugin
    • PluginProvision
    • ProvisionedPlugin
  • Snowflake.Extensibility.Provisioning.Standalone
    • StandalonePlugin
    • StandalonePluginProvision
  • Snowflake.Extensibility.Queueing
    • IAsyncJobQueue
    • IAsyncJobQueue<T>
    • IAsyncJobQueue<TAsyncEnumerable, T>
    • IAsyncJobQueueFactory
  • Snowflake.Filesystem
    • DirectoryExtensions
    • FileExtensions
    • IDirectory
    • IFile
    • IIndelibleDirectory
    • IReadOnlyDirectory
    • IReadOnlyFile
  • Snowflake.Input.Controller
    • ControllerElement
    • ControllerElementCollection
    • ControllerElementExtensions
    • ControllerElementInfo
    • ControllerElementType
    • ControllerElementTypeExtensions
    • ControllerId
    • IControllerElementCollection
    • IControllerElementInfo
    • IControllerLayout
    • InvalidControllerIdException
  • Snowflake.Input.Controller.Mapped
    • ControllerElementMapping
    • ControllerElementMappingProfile
    • IControllerElementMappingProfile
    • IControllerElementMappingProfileStore
  • Snowflake.Input.Device
    • DefaultDeviceCapabilityLabels
    • DeviceCapability
    • DeviceCapabilityClass
    • DeviceCapabilityClasses
    • DeviceCapabilityExtensions
    • DeviceLayoutMapping
    • DictionaryDeviceCapabilityLabels
    • DirectInputDeviceInstance
    • IDeviceCapabilityLabels
    • IDeviceLayoutMapping
    • IInputDevice
    • IInputDeviceInstance
    • InputDriver
    • KeyboardDeviceInstance
    • PassthroughDeviceInstance
    • XInputDeviceInstance
  • Snowflake.Installation
    • AsyncInstallTask<T>
    • AsyncInstallTaskEnumerable<T>
    • ITaskResult
    • TaskResult
    • TaskResult<T>
  • Snowflake.Installation.Extensibility
    • GameInstaller
    • IGameInstaller
    • IInstallable
    • Installable
    • SupportedPlatformAttribute
  • Snowflake.Installation.Tasks
    • CopyDirectoryContentsTask
    • CopyFileTask
    • ExecuteAsyncTask<TResult>
    • ExtractZipTask
    • FailureTask<T>
  • Snowflake.Loader
    • IComposable
    • IModule
    • IModuleEnumerator
    • IModuleLoader<T>
    • ImportServiceAttribute
    • IServiceRepository
    • Module
  • Snowflake.Model.Database.Exceptions
    • DependentEntityNotExistsException
    • EntityAlreadyExistsException
  • Snowflake.Model.Database.Migrations
    • Empty
    • InitialCreate
  • Snowflake.Model.Game
    • Game
    • IGame
    • IGameExtension
    • IGameLibrary
    • IPlatformInfo
    • ISystemFile
    • PlatformId
  • Snowflake.Model.Game.LibraryExtensions
    • GameConfigurationExtensionExtensions
    • GameFileExtensionExtensions
    • IGameConfigurationExtension
    • IGameConfigurationExtensionProvider
    • IGameExtensionProvider
    • IGameExtensionProvider<TExtension>
    • IGameFileExtension
    • IGameFileExtensionProvider
  • Snowflake.Model.Records
    • FileRecord
    • GameRecord
    • IMetadataCollection
    • IRecord
    • IRecordMetadata
    • IRecordMetadataQuery
    • MetadataCollection
    • RecordMetadata
  • Snowflake.Model.Records.File
    • FileMetadataKeys
    • IFileRecord
    • ImageMetadataKeys
    • ImageTypes
  • Snowflake.Model.Records.Game
    • GameMetadataKeys
    • IGameRecord
    • IGameRecordQuery
  • Snowflake.Orchestration.Extensibility
    • EmulatedController
    • EmulatedPortsManager
    • EmulatorCompatibility
    • EmulatorOrchestrator
    • GameEmulation
    • GameEmulation<TConfigurationCollection>
    • GameEmulationState
    • IEmulatedController
    • IEmulatedPortDeviceEntry
    • IEmulatedPortsManager
    • IEmulatedPortStore
    • IEmulatorOrchestrator
    • IGameEmulation
  • Snowflake.Orchestration.Extensibility.Extensions
    • DeviceEnumeratorExtensions
  • Snowflake.Orchestration.Process
    • IEmulatorExecutable
    • IEmulatorExecutableProvider
    • IProcessBuilder
    • ProcessExtensions
  • Snowflake.Orchestration.Saving
    • GameFileExtensionGameSaveManagerExtensions
    • IGameSaveManager
    • ISaveGame
    • ISaveProfile
    • SaveGame
    • SaveManagementStrategy
  • Snowflake.Orchestration.SystemFiles
    • ISystemFileProvider
  • Snowflake.Persistence
    • ISqlDatabase
    • SqliteDatabase
    • SqliteMemoryDatabase
  • Snowflake.Remoting.Electron
    • IElectronPackage
    • IElectronPackageProvider
  • Snowflake.Remoting.Kestrel
    • IKestrelServerMiddlewareProvider
    • IKestrelWebServerService
  • Snowflake.Romfile
    • IFileSignature
    • IRomFileInfo
    • IStructuredFilename
    • NamingConvention
    • RomFileInfo
    • StructuredFilename
  • Snowflake.Romfile.Extensions
    • StringExtensions
  • Snowflake.Romfile.Tokenizer
    • FieldType
    • GoodToolsTokenClassifier
    • NoIntroTokenClassifier
    • StructuredFilenameToken
  • Snowflake.Scraping
    • GameScrapeContext
    • IScrapeContext
    • ISeed
    • ISeedRootContext
    • Seed
    • SeedContent
    • SeedRootContext
  • Snowflake.Scraping.Extensibility
    • AttachTarget
    • Culler
    • Directive
    • DirectiveAttribute
    • FileInstallationTraverserBase
    • GameMetadataTraverserBase
    • ICuller
    • IFileInstallationTraverser
    • IGameMetadataTraverser
    • IScraper
    • IScraperDirective
    • ITraverser<TProducts, TEffectTarget>
    • Scraper
    • SeedBuilder
    • SeedTree
    • Traverser<TProducts, TEffectTarget>
  • Snowflake.Services
    • IContentDirectoryProvider
    • IDeviceEnumerator
    • ILogProvider
    • IPluginManager
    • IServiceEnumerator
    • IServiceRegistrationProvider
    • IStoneProvider
  • Snowflake.Shiragame
    • IRomInfo
    • ISerialInfo
    • IShiragameProvider
    • RomInfo
    • SerialInfo

Class ControllerElementMappingProfile

Inheritance
System.Object
ControllerElementMappingProfile
Implements
IControllerElementMappingProfile
System.Collections.Generic.IEnumerable<ControllerElementMapping>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 ControllerElementMappingProfile from an IDeviceLayoutMapping, that includes all mappings from the default layout.

Declaration
public ControllerElementMappingProfile(string deviceName, ControllerId controllerId, InputDriver driver, int vendor, IDeviceLayoutMapping mapping)
Parameters
Type Name Description
System.String deviceName

The name of the physical device for this set of mappings.

ControllerId controllerId

The Stone ControllerID this mapping is intended for.

InputDriver driver

The InputDriver of the device instance for this set of mappings.

System.Int32 vendor

The vendor ID of the physical device for this set of mappings.

IDeviceLayoutMapping mapping

The device layout mapping provided by the device enumerator.

ControllerElementMappingProfile(String, ControllerId, InputDriver, Int32, IDeviceLayoutMapping, Guid)

Initializes a ControllerElementMappingProfile from an IDeviceLayoutMapping, that includes all mappings from the default layout.

Declaration
public ControllerElementMappingProfile(string deviceName, ControllerId controllerId, InputDriver driver, int vendor, IDeviceLayoutMapping mapping, Guid profileGuid)
Parameters
Type Name Description
System.String deviceName

The name of the physical device for this set of mappings.

ControllerId controllerId

The Stone ControllerID this mapping is intended for.

InputDriver driver

The InputDriver of the device instance for this set of mappings.

System.Int32 vendor

The vendor ID of the physical device for this set of mappings.

IDeviceLayoutMapping mapping

The device layout mapping provided by the device enumerator.

System.Guid profileGuid

The System.Guid of this mapping profile.

ControllerElementMappingProfile(String, ControllerId, InputDriver, Int32, Guid)

Declaration
public ControllerElementMappingProfile(string deviceName, ControllerId controllerId, InputDriver driver, int vendor, Guid profileGuid)
Parameters
Type Name Description
System.String deviceName
ControllerId controllerId
InputDriver driver
System.Int32 vendor
System.Guid profileGuid

ControllerElementMappingProfile(String, IControllerLayout, InputDriver, Int32, IDeviceLayoutMapping)

Initializes aControllerElementMappingProfile from an IDeviceLayoutMapping, that includes only mappings that are assignable to the provided layout.

Declaration
public ControllerElementMappingProfile(string deviceName, IControllerLayout controller, InputDriver driver, int vendor, IDeviceLayoutMapping mapping)
Parameters
Type Name Description
System.String deviceName

The name of the physical device for this set of mappings.

IControllerLayout controller

The controller layout to assign device mappings to.

InputDriver driver

The InputDriver of the device instance for this set of mappings.

System.Int32 vendor

The vendor ID of the physical device for this set of mappings.

IDeviceLayoutMapping mapping

The device layout mapping provided by the device enumerator.

ControllerElementMappingProfile(String, IControllerLayout, InputDriver, Int32, IDeviceLayoutMapping, Guid)

Initializes aControllerElementMappingProfile from an IDeviceLayoutMapping, that includes only mappings that are assignable to the provided layout.

Declaration
public ControllerElementMappingProfile(string deviceName, IControllerLayout controller, InputDriver driver, int vendor, IDeviceLayoutMapping mapping, Guid profileGuid)
Parameters
Type Name Description
System.String deviceName

The name of the physical device for this set of mappings.

IControllerLayout controller

The controller layout to assign device mappings to.

InputDriver driver

The InputDriver of the device instance for this set of mappings.

System.Int32 vendor

The vendor ID of the physical device for this set of mappings.

IDeviceLayoutMapping mapping

The device layout mapping provided by the device enumerator.

System.Guid profileGuid

The System.Guid of this mapping profile.

Properties

ControllerID

Declaration
public ControllerId ControllerID { get; }
Property Value
Type Description
ControllerId

DeviceName

Declaration
public string DeviceName { get; }
Property Value
Type Description
System.String

DriverType

Declaration
public InputDriver DriverType { get; }
Property Value
Type Description
InputDriver

Item[ControllerElement]

Declaration
public DeviceCapability this[ControllerElement layoutElement] { get; set; }
Parameters
Type Name Description
ControllerElement layoutElement
Property Value
Type Description
DeviceCapability

ProfileGuid

Declaration
public Guid ProfileGuid { get; set; }
Property Value
Type Description
System.Guid

VendorID

Declaration
public int VendorID { get; }
Property Value
Type Description
System.Int32

Methods

Add(ControllerElementMapping)

Declaration
public void Add(ControllerElementMapping controllerElement)
Parameters
Type Name Description
ControllerElementMapping controllerElement

GetEnumerator()

Declaration
public IEnumerator<ControllerElementMapping> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<ControllerElementMapping>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

IControllerElementMappingProfile
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
In This Article
  • Constructors
    • ControllerElementMappingProfile(String, ControllerId, InputDriver, Int32, IDeviceLayoutMapping)
    • ControllerElementMappingProfile(String, ControllerId, InputDriver, Int32, IDeviceLayoutMapping, Guid)
    • ControllerElementMappingProfile(String, ControllerId, InputDriver, Int32, Guid)
    • ControllerElementMappingProfile(String, IControllerLayout, InputDriver, Int32, IDeviceLayoutMapping)
    • ControllerElementMappingProfile(String, IControllerLayout, InputDriver, Int32, IDeviceLayoutMapping, Guid)
  • Properties
    • ControllerID
    • DeviceName
    • DriverType
    • Item[ControllerElement]
    • ProfileGuid
    • VendorID
  • Methods
    • Add(ControllerElementMapping)
    • GetEnumerator()
  • Explicit Interface Implementations
    • IEnumerable.GetEnumerator()
  • Implements
Built with ❤️ by @chyyran. Text content licensed under CC-BY-SA 4.0.