---
title: GCMicroGamepadValueChangedHandler
framework: gamecontroller
role: symbol
role_heading: Type Alias
path: gamecontroller/gcmicrogamepadvaluechangedhandler
---

# GCMicroGamepadValueChangedHandler

Signature for the block that this profile calls when an element’s value changes.

## Declaration

```swift
typealias GCMicroGamepadValueChangedHandler = (GCMicroGamepad, GCControllerElement) -> Void
```

## Parameters

- `gamepad`: The profile whose element value changes.
- `element`: The element in the profile whose value changes.

## See Also

### Receiving a callback when input values change

- [valueChangedHandler](gamecontroller/gcmicrogamepad/valuechangedhandler.md)
