<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCPhysicalInputProfile/mappedPhysicalInputNames(forElementAlias:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCPhysicalInputProfile(im)mappedPhysicalInputNamesForElementAlias:"
  },
  "title" : "mappedPhysicalInputNames(forElementAlias:)"
}
-->

# mappedPhysicalInputNames(forElementAlias:)

Returns the physical input elements to which the user remaps the given input element.

```
func mappedPhysicalInputNames(forElementAlias elementAlias: String) -> Set<String>
```

## Parameters

`elementAlias`

The name of the input element too which physical input elements remap. For possible values, see [Extended gamepad input names](/documentation/GameController/extended-gamepad-input-names).

## Return Value

The names of the physical input element to which the user remaps the given element.

## Discussion

For example, if the user maps a physical press of A button , B button, and X button to button B, then passing [`GCInputButtonB`](/documentation/GameController/GCInputButtonB-6z361) returns a set that contains [`GCInputButtonA`](/documentation/GameController/GCInputButtonA-8z15w), [`GCInputButtonB`](/documentation/GameController/GCInputButtonB-6z361), and [`GCInputButtonX`](/documentation/GameController/GCInputButtonX-32i2z).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)