---
title: "init(values:)"
framework: gamecontroller
role: symbol
role_heading: Initializer
path: "gamecontroller/gcdualsenseadaptivetrigger/positionalamplitudes/init(values:)"
---

# init(values:)

Creates a positional amplitudes structure with the specified amplitude values.

## Declaration

```swift
init(values: (Float, Float, Float, Float, Float, Float, Float, Float, Float, Float))
```

## Parameters

- `values`: The amplitude values for possible trigger positions. Each value is between 0 and 1, where 0 is the minimum and 1 is the maximum amplitude.

## See Also

### Creating multiple amplitudes

- [init()](gamecontroller/gcdualsenseadaptivetrigger/positionalamplitudes/init().md)
