---
title: GCPhysicalInputElementCollection
framework: gamecontroller
role: symbol
role_heading: Structure
path: gamecontroller/gcphysicalinputelementcollection-swift.struct
---

# GCPhysicalInputElementCollection

A collection of physical input elements.

## Declaration

```swift
struct GCPhysicalInputElementCollection<T> where T : GCPhysicalInputElement
```

## Topics

### Accessing elements by name

- [subscript(_:)](gamecontroller/gcphysicalinputelementcollection-swift.struct/subscript(_:)-1twjd.md)
- [subscript(_:)](gamecontroller/gcphysicalinputelementcollection-swift.struct/subscript(_:)-8m218.md)
- [subscript(_:)](gamecontroller/gcphysicalinputelementcollection-swift.struct/subscript(_:)-3l6nj.md)
- [subscript(_:)](gamecontroller/gcphysicalinputelementcollection-swift.struct/subscript(_:)-4oje0.md)
- [subscript(_:)](gamecontroller/gcphysicalinputelementcollection-swift.struct/subscript(_:)-85c13.md)

### Subscripts

- [subscript(_:)](gamecontroller/gcphysicalinputelementcollection-swift.struct/subscript(_:)-3tv91.md)
- [subscript(_:)](gamecontroller/gcphysicalinputelementcollection-swift.struct/subscript(_:)-3womp.md)
- [subscript(_:)](gamecontroller/gcphysicalinputelementcollection-swift.struct/subscript(_:)-c5v9.md)

## Relationships

### Conforms To

- [Collection](swift/collection.md)
- [Sequence](swift/sequence.md)

## See Also

### Elements

- [GCPhysicalInputElement](gamecontroller/gcphysicalinputelement.md)
- [GCButtonElement](gamecontroller/gcbuttonelement.md)
- [GCAxisElement](gamecontroller/gcaxiselement.md)
- [GCSwitchElement](gamecontroller/gcswitchelement.md)
- [GCDirectionPadElement](gamecontroller/gcdirectionpadelement.md)
